mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-28 15:57:48 +00:00
45bf0e3a67
* tests/test_driver.pl: Save error strings for later comparison. * tests/run_make_tests.pl: Create portable commands for later use. * tests/*: Use these new variables.
19 lines
484 B
Perl
19 lines
484 B
Perl
# -*-perl-*-
|
|
|
|
$description = "The following tests rules without Commands or Dependencies.";
|
|
|
|
# Create a file named "clean". This is the same name as the target clean
|
|
# and tricks the target into thinking that it is up to date. (Unless you
|
|
# use the .PHONY target.
|
|
touch('clean');
|
|
|
|
run_make_test(qq!
|
|
.IGNORE :
|
|
clean: FORCE ; $CMD_rmfile clean
|
|
FORCE:
|
|
!,
|
|
'', "$CMD_rmfile clean");
|
|
|
|
rmfiles('clean');
|
|
|
|
1;
|