summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/features/patspecific_vars4
-rw-r--r--tests/scripts/functions/abspath32
-rw-r--r--tests/scripts/options/dash-I2
3 files changed, 20 insertions, 18 deletions
diff --git a/tests/scripts/features/patspecific_vars b/tests/scripts/features/patspecific_vars
index 9e98b43..20c1cfc 100644
--- a/tests/scripts/features/patspecific_vars
+++ b/tests/scripts/features/patspecific_vars
@@ -67,8 +67,8 @@ run_make_test('
/%: export foo := foo
/bar:
- @test "$(foo)" = "$$foo"
-', '', '');
+ @echo $(foo) $$foo
+', '', 'foo foo');
# TEST #6 -- test expansion of pattern-specific simple variables
diff --git a/tests/scripts/functions/abspath b/tests/scripts/functions/abspath
index d419255..84c30ab 100644
--- a/tests/scripts/functions/abspath
+++ b/tests/scripts/functions/abspath
@@ -5,68 +5,68 @@ $details = "";
run_make_test('
ifneq ($(realpath $(abspath .)),$(CURDIR))
- $(error )
+ $(warning .: abs="$(abspath .)" real="$(realpath $(abspath .))" curdir="$(CURDIR)")
endif
ifneq ($(realpath $(abspath ./)),$(CURDIR))
- $(error )
+ $(warning ./: abs="$(abspath ./)" real="$(realpath $(abspath ./))" curdir="$(CURDIR)")
endif
ifneq ($(realpath $(abspath .///)),$(CURDIR))
- $(error )
+ $(warning .///: abs="$(abspath .///)" real="$(realpath $(abspath .///))" curdir="$(CURDIR)")
endif
ifneq ($(abspath /),/)
- $(error )
+ $(warning /: abspath="$(abspath /)")
endif
ifneq ($(abspath ///),/)
- $(error )
+ $(warning ///: abspath="$(abspath ///)")
endif
ifneq ($(abspath /.),/)
- $(error )
+ $(warning /.: abspath="$(abspath /.)")
endif
ifneq ($(abspath ///.),/)
- $(error )
+ $(warning ///.: abspath="$(abspath ///.)")
endif
ifneq ($(abspath /./),/)
- $(error )
+ $(warning /./: abspath="$(abspath /./)")
endif
ifneq ($(abspath /.///),/)
- $(error )
+ $(warning /.///: abspath="$(abspath /.///)")
endif
ifneq ($(abspath /..),/)
- $(error )
+ $(warning /..: abspath="$(abspath /..)")
endif
ifneq ($(abspath ///..),/)
- $(error )
+ $(warning ///..: abspath="$(abspath ///..)")
endif
ifneq ($(abspath /../),/)
- $(error )
+ $(warning /../: abspath="$(abspath /../)")
endif
ifneq ($(abspath /..///),/)
- $(error )
+ $(warning /..///: abspath="$(abspath /..///)")
endif
ifneq ($(abspath /foo/bar/..),/foo)
- $(error )
+ $(warning /foo/bar/..: abspath="$(abspath /foo/bar/..)")
endif
ifneq ($(abspath /foo/bar/../../../baz),/baz)
- $(error )
+ $(warning /foo/bar/../../../baz: abspath="$(abspath /foo/bar/../../../baz)")
endif
ifneq ($(abspath /foo/bar/../ /..),/foo /)
- $(error )
+ $(warning /foo/bar/../ /..: abspath="$(abspath /foo/bar/../ /..)")
endif
diff --git a/tests/scripts/options/dash-I b/tests/scripts/options/dash-I
index 0be0bd7..8dc5d9b 100644
--- a/tests/scripts/options/dash-I
+++ b/tests/scripts/options/dash-I
@@ -1,3 +1,5 @@
+# -*-perl-*-
+
$description ="The following test creates a makefile to test the -I option.";
$details = "\