VirtualBox

source: kBuild/vendor/gnumake/current/tests/scripts/targets/DELETE_ON_ERROR@ 3138

Last change on this file since 3138 was 3138, checked in by bird, 7 years ago

Imported make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6) from https://git.savannah.gnu.org/git/make.git.

  • Property svn:eol-style set to native
File size: 562 bytes
Line 
1#! -*-perl-*-
2
3$description = "Test the behaviour of the .DELETE_ON_ERROR target.";
4
5$details = "";
6
7run_make_test('
8.DELETE_ON_ERROR:
9all: ; exit 1 > $@
10',
11 '', "exit 1 > all\n#MAKE#: *** [#MAKEFILE#:3: all] Error 1\n#MAKE#: *** Deleting file 'all'", 512);
12
13run_make_test('
14.DELETE_ON_ERROR:
15all: foo.x ;
16%.x : %.q ; echo > $@
17%.q : ; exit 1 > $@
18',
19 '', "exit 1 > foo.q\n#MAKE#: *** [#MAKEFILE#:5: foo.q] Error 1\n#MAKE#: *** Deleting file 'foo.q'", 512);
20
21# This tells the test driver that the perl test script executed properly.
221;
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette