From b00387a0a3cc9e340915eeb878e5b45bbb9f1ccd Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Mon, 18 Jan 2016 10:26:17 +0000 Subject: [PATCH] Make TESTS= work with "nmake -f ms/ntdll.mak tests" This works on Linux with Make already, and allows running only specified tests. Reviewed-by: Ben Laurie Reviewed-by: Richard Levitte --- util/pl/BC-32.pl | 2 +- util/pl/VC-32.pl | 2 +- util/pl/unix.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/pl/BC-32.pl b/util/pl/BC-32.pl index c22acecfdd..98bd0ffcd2 100644 --- a/util/pl/BC-32.pl +++ b/util/pl/BC-32.pl @@ -114,7 +114,7 @@ $target: $deps force.$target set BIN_D=\$(BIN_D) set TEST_D=\$(TEST_D) set PERL=\$(PERL) - \$(PERL) test\\$test_cmd + \$(PERL) test\\$test_cmd \$(TESTS) force.$target: EOF } diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 1a34bb32fd..b9ae8a57ae 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -320,7 +320,7 @@ $target: $deps force.$target set BIN_D=\$(BIN_D) set TEST_D=\$(TEST_D) set PERL=\$(PERL) - \$(PERL) test\\$test_cmd + \$(PERL) test\\$test_cmd \$(TESTS) force.$target: EOF } diff --git a/util/pl/unix.pl b/util/pl/unix.pl index c1b2c26cf9..28bd0397c0 100644 --- a/util/pl/unix.pl +++ b/util/pl/unix.pl @@ -203,7 +203,7 @@ sub do_test_rule { my $ret = <<"EOF"; $target: $deps force.$target TOP=. BIN_D=\$(BIN_D) TEST_D=\$(TEST_D) \\ - PERL=\$(PERL) \$(PERL) test/$test_cmd + PERL=\$(PERL) \$(PERL) test/$test_cmd \$(TESTS) force.$target: EOF -- 2.25.1