diff options
author | Paul Smith <psmith@gnu.org> | 2004-02-23 06:25:54 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-02-23 06:25:54 +0000 |
commit | be8c3dbc974c35fac33c8392b89482c10e4f8650 (patch) | |
tree | e410b51327e62cb0dbc0a1bf2ed89fb14fd14904 /tests | |
parent | fafeb870272fd3b3623d8eb8241c915af39f5855 (diff) | |
download | gunmake-be8c3dbc974c35fac33c8392b89482c10e4f8650.tar.gz |
Numerous fixes: patches for OS/2; core for -f ''; makefile updates.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/scripts/functions/origin | 11 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index b20f46f..9f31f4e 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2004-02-21 Paul D. Smith <psmith@gnu.org> + + * scripts/functions/origin: Set our own environment variable + rather than relying on $HOME. + 2004-01-21 Paul D. Smith <psmith@gnu.org> * scripts/features/conditionals: Test arguments to ifn?def which diff --git a/tests/scripts/functions/origin b/tests/scripts/functions/origin index eab2d78..c45a359 100644 --- a/tests/scripts/functions/origin +++ b/tests/scripts/functions/origin @@ -15,13 +15,8 @@ defined per the following list: 'override' defined by override in makefile 'automatic' Automatic variable\n"; -# On WIN32 systems, HOME is meaningless. SystemRoot should be defined -# though. With DJGPP, HOME is not guaranteed to be defined. Use DJDIR -# instead. -# -$homevar = (($port_type eq 'Windows') ? "SystemRoot" - : (($port_type eq 'DOS') ? "DJDIR" - : "HOME")); +# Set an environment variable +$ENV{MAKETEST} = 1; open(MAKEFILE,"> $makefile"); @@ -33,7 +28,7 @@ override WHITE := BLACK all: auto \t\@echo \$(origin undefined) \t\@echo \$(origin CC) -\t\@echo \$(origin $homevar) +\t\@echo \$(origin MAKETEST) \t\@echo \$(origin MAKE) \t\@echo \$(origin foo) \t\@echo \$(origin CFLAGS) |