summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-02-19 14:49:56 -0500
committerPaul Smith <psmith@gnu.org>2023-02-19 14:49:56 -0500
commit549fc561023208fdda709beb9c98d411abe87064 (patch)
tree0a7d6909106dc53a7f934324e9d5e54200080334
parent37e0010743a505bbdb8d4edf465202a3e8a7ddf6 (diff)
downloadmake-git-549fc561023208fdda709beb9c98d411abe87064.tar.gz
* tests/scripts/features/archives: Set CC properly
-rw-r--r--tests/scripts/features/archives6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scripts/features/archives b/tests/scripts/features/archives
index 4284d108..81f515e3 100644
--- a/tests/scripts/features/archives
+++ b/tests/scripts/features/archives
@@ -265,16 +265,16 @@ mylib.a: mylib.a(a.o b.o)
!,
$vars, "Compile a.c\nCompile b.c\n$ar $arflags mylib.a a.o b.o\n${create2}rm b.o a.o");
-run_make_test(undef, $arvar, "#MAKE#: 'mylib.a' is up to date.");
+run_make_test(undef, $vars, "#MAKE#: 'mylib.a' is up to date.");
# Now update one of the source files and it should be compiled and archived
sleep(2);
touch('b.c');
-run_make_test(undef, $arvar, "Compile b.c\n$ar $arflags mylib.a b.o\n${add2}rm b.o");
+run_make_test(undef, $vars, "Compile b.c\n$ar $arflags mylib.a b.o\n${add2}rm b.o");
-run_make_test(undef, $arvar, "#MAKE#: 'mylib.a' is up to date.");
+run_make_test(undef, $vars, "#MAKE#: 'mylib.a' is up to date.");
unlink('a.c', 'b.c', 'a.o', 'b.o', 'mylib.a');
}