From f7598efb676502e3ade6aac4a61be0984de4abda Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 29 Aug 2005 14:11:00 +0000 Subject: Fix make.h preprocessor directive to work better with Windows compilers. Fix some regression tests to (hopefully) work better on Windows. --- tests/scripts/functions/abspath | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'tests/scripts/functions') 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 -- cgit v1.2.3