From: Paul Smith Date: Sun, 19 Feb 2023 19:49:56 +0000 (-0500) Subject: * tests/scripts/features/archives: Set CC properly X-Git-Tag: 4.4.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=549fc561023208fdda709beb9c98d411abe87064;p=thirdparty%2Fmake.git * tests/scripts/features/archives: Set CC properly --- 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'); }