diff options
author | Paul Smith <psmith@gnu.org> | 2006-04-01 06:36:40 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2006-04-01 06:36:40 +0000 |
commit | a8f101d0bc354896e410e218db12b449b0447de7 (patch) | |
tree | b161fc78e688e2c08828116dca05cb148af6e305 /tests/scripts/functions | |
parent | 367a49591e2b2335f3f5b42e290651d4df77e933 (diff) | |
download | gunmake-a8f101d0bc354896e410e218db12b449b0447de7.tar.gz |
Release GNU make 3.81.
Update NEWS docs.
Enhance the manual to use automake version.texi, and use the canonical
FSF copyright features and statement.
Some $(realpath ...) tests won't work on Windows; leave them out
The jobserver filedescriptor test might fail if some FDs are reserved,
so for now comment out that check.
Diffstat (limited to 'tests/scripts/functions')
-rw-r--r-- | tests/scripts/functions/realpath | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/tests/scripts/functions/realpath b/tests/scripts/functions/realpath index 720af8b..9b503b4 100644 --- a/tests/scripts/functions/realpath +++ b/tests/scripts/functions/realpath @@ -20,18 +20,10 @@ ifneq ($(realpath /),/) $(error ) endif -ifneq ($(realpath ///),/) - $(error ) -endif - ifneq ($(realpath /.),/) $(error ) endif -ifneq ($(realpath ///.),/) - $(error ) -endif - ifneq ($(realpath /./),/) $(error ) endif @@ -44,10 +36,6 @@ ifneq ($(realpath /..),/) $(error ) endif -ifneq ($(realpath ///..),/) - $(error ) -endif - ifneq ($(realpath /../),/) $(error ) endif @@ -63,8 +51,31 @@ endif .PHONY: all all: ; @: ', -'', -''); + '', + ''); + +# On Windows platforms, "//" means something special. So, don't do these +# tests there. + +if ($port_type ne 'W32') { + run_make_test(' +ifneq ($(realpath ///),/) + $(error ) +endif + +ifneq ($(realpath ///.),/) + $(error ) +endif + +ifneq ($(realpath ///..),/) + $(error ) +endif + +.PHONY: all +all: ; @:', + '', + ''); +} # This tells the test driver that the perl test script executed properly. |