]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/scripts/features/archives: Set CC properly
authorPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 19:49:56 +0000 (14:49 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 19:49:56 +0000 (14:49 -0500)
tests/scripts/features/archives

index 4284d1088f9d45fa7487e192948cd008a9c3fe35..81f515e3003f3ed468d6e5c86f079a605151be74 100644 (file)
@@ -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');
 }