From a5bb7108a945cbc12fcba3d3bfe5eb3e2c9e9286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 16 Sep 2025 16:41:17 +0200 Subject: [PATCH] test: move glibc_compat from link to standalone tests This is not really testing the linker. --- test/link/build.zig.zon | 3 --- test/standalone/build.zig.zon | 3 +++ test/{link => standalone}/glibc_compat/build.zig | 0 test/{link => standalone}/glibc_compat/glibc_runtime_check.c | 0 test/{link => standalone}/glibc_compat/glibc_runtime_check.zig | 0 test/{link => standalone}/glibc_compat/main.c | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename test/{link => standalone}/glibc_compat/build.zig (100%) rename test/{link => standalone}/glibc_compat/glibc_runtime_check.c (100%) rename test/{link => standalone}/glibc_compat/glibc_runtime_check.zig (100%) rename test/{link => standalone}/glibc_compat/main.c (100%) diff --git a/test/link/build.zig.zon b/test/link/build.zig.zon index ab44726091..4005a7d55b 100644 --- a/test/link/build.zig.zon +++ b/test/link/build.zig.zon @@ -15,9 +15,6 @@ .static_libs_from_object_files = .{ .path = "static_libs_from_object_files", }, - .glibc_compat = .{ - .path = "glibc_compat", - }, // WASM Cases .wasm_archive = .{ .path = "wasm/archive", diff --git a/test/standalone/build.zig.zon b/test/standalone/build.zig.zon index b5778a34db..bf02cce0a5 100644 --- a/test/standalone/build.zig.zon +++ b/test/standalone/build.zig.zon @@ -49,6 +49,9 @@ .pkg_import = .{ .path = "pkg_import", }, + .glibc_compat = .{ + .path = "glibc_compat", + }, .install_raw_hex = .{ .path = "install_raw_hex", }, diff --git a/test/link/glibc_compat/build.zig b/test/standalone/glibc_compat/build.zig similarity index 100% rename from test/link/glibc_compat/build.zig rename to test/standalone/glibc_compat/build.zig diff --git a/test/link/glibc_compat/glibc_runtime_check.c b/test/standalone/glibc_compat/glibc_runtime_check.c similarity index 100% rename from test/link/glibc_compat/glibc_runtime_check.c rename to test/standalone/glibc_compat/glibc_runtime_check.c diff --git a/test/link/glibc_compat/glibc_runtime_check.zig b/test/standalone/glibc_compat/glibc_runtime_check.zig similarity index 100% rename from test/link/glibc_compat/glibc_runtime_check.zig rename to test/standalone/glibc_compat/glibc_runtime_check.zig diff --git a/test/link/glibc_compat/main.c b/test/standalone/glibc_compat/main.c similarity index 100% rename from test/link/glibc_compat/main.c rename to test/standalone/glibc_compat/main.c