summaryrefslogtreecommitdiff
path: root/tests/scripts/features
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/features')
-rw-r--r--tests/scripts/features/include2
-rw-r--r--tests/scripts/features/patternrules14
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/scripts/features/include b/tests/scripts/features/include
index 5030662..196a987 100644
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -104,7 +104,7 @@ all:; @:
foo: bar; @:
-bar:; @false
+bar:; @exit 1
', '', '');
# Check include, sinclude, -include with no filenames.
diff --git a/tests/scripts/features/patternrules b/tests/scripts/features/patternrules
index c5bdf0a..1753d4d 100644
--- a/tests/scripts/features/patternrules
+++ b/tests/scripts/features/patternrules
@@ -23,22 +23,22 @@ a: void
# 1 - existing file
%.1: void
- @false
+ @exit 1
%.1: #MAKEFILE#
- @true
+ @exit 0
# 2 - phony
%.2: void
- @false
+ @exit 1
%.2: 2.phony
- @true
+ @exit 0
.PHONY: 2.phony
# 3 - implicit-phony
%.3: void
- @false
+ @exit 1
%.3: 3.implicit-phony
- @true
+ @exit 0
3.implicit-phony:
',
@@ -110,7 +110,7 @@ $(dir)/foo.bar:
',
"dir=$dir",
-"make: *** [$dir/foo.bar] Error 1",
+"#MAKE#: *** [$dir/foo.bar] Error 1",
512);
unlink("$dir/foo.bar");