summaryrefslogtreecommitdiff
path: root/tests/scripts/functions
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-08-29 14:11:00 +0000
committerPaul Smith <psmith@gnu.org>2005-08-29 14:11:00 +0000
commitf7598efb676502e3ade6aac4a61be0984de4abda (patch)
tree788b89fb6c91f3ffb446e4bb49826a695c71c4b9 /tests/scripts/functions
parent6636dc1d5c41840afd58e402f7b6ea6ef25de943 (diff)
downloadgunmake-f7598efb676502e3ade6aac4a61be0984de4abda.tar.gz
Fix make.h preprocessor directive to work better with Windows compilers.
Fix some regression tests to (hopefully) work better on Windows.
Diffstat (limited to 'tests/scripts/functions')
-rw-r--r--tests/scripts/functions/abspath32
1 files changed, 16 insertions, 16 deletions
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