summaryrefslogtreecommitdiffstats
path: root/make/make-3.81/tests/scripts/variables/negative
diff options
context:
space:
mode:
Diffstat (limited to 'make/make-3.81/tests/scripts/variables/negative')
-rw-r--r--make/make-3.81/tests/scripts/variables/negative46
1 files changed, 0 insertions, 46 deletions
diff --git a/make/make-3.81/tests/scripts/variables/negative b/make/make-3.81/tests/scripts/variables/negative
deleted file mode 100644
index 16a72b8..0000000
--- a/make/make-3.81/tests/scripts/variables/negative
+++ /dev/null
@@ -1,46 +0,0 @@
-# -*-perl-*-
-
-$description = "Run some negative tests (things that should fail).";
-
-# TEST #0
-# Check that non-terminated variable references are detected (and
-# reported using the best filename/lineno info
-run_make_test('
-foo = bar
-x = $(foo
-y = $x
-
-all: ; @echo $y
-',
- '', '#MAKEFILE#:3: *** unterminated variable reference. Stop.',
- 512);
-
-# TEST #1
-# Bogus variable value passed on the command line.
-run_make_test(undef,
- 'x=\$\(other',
- '#MAKEFILE#:4: *** unterminated variable reference. Stop.',
- 512);
-
-# TEST #2
-# Again, but this time while reading the makefile.
-run_make_test('
-foo = bar
-x = $(foo
-y = $x
-
-z := $y
-
-all: ; @echo $y
-',
- '', '#MAKEFILE#:3: *** unterminated variable reference. Stop.',
- 512);
-
-# TEST #3
-# Bogus variable value passed on the command line.
-run_make_test(undef,
- 'x=\$\(other',
- '#MAKEFILE#:4: *** unterminated variable reference. Stop.',
- 512);
-
-1;