diff options
author | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-16 21:08:20 +0200 |
---|---|---|
committer | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-16 21:08:20 +0200 |
commit | 98ecd5e8c7b6c83b8c794050249b445dfea17334 (patch) | |
tree | bebd47cf502ca7ffcf4f013bf0aa5d6c42339963 /test | |
parent | 57fe811dd036e276abd30eed3aac135df7e362ab (diff) | |
parent | 403350c2b25551c749e2310556ba2f63e271042b (diff) | |
download | egawk-98ecd5e8c7b6c83b8c794050249b445dfea17334.tar.gz egawk-98ecd5e8c7b6c83b8c794050249b445dfea17334.tar.bz2 egawk-98ecd5e8c7b6c83b8c794050249b445dfea17334.zip |
Merge remote-tracking branch 'origin/master' into cmake
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 9 | ||||
-rw-r--r-- | test/Makefile.in | 8 | ||||
-rw-r--r-- | test/filefuncs.awk | 4 |
3 files changed, 17 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 20b4d6e2..fda3b681 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,12 @@ +2013-05-14 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (mpfr-tests, shlib-tests): Add a blank character + between ' and /FOO/ in Gawk command lines, for the benefit of + testing under MSYS Bash. + + * filefuncs.awk (BEGIN): Call 'stat' on gawkapi.o, not on gawk, + which does not exist on systems that produce gawk.exe. + 2013-05-09 Arnold D. Robbins <arnold@skeeve.com> * 4.1.0: Release tar ball made. diff --git a/test/Makefile.in b/test/Makefile.in index 46e7f57a..bfecafc0 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1453,14 +1453,18 @@ inet: inetmesg $(INET_TESTS) machine-tests: $(MACHINE_TESTS) +# The blank between ' and /MPFR/ is for running tests on Windows under +# MSYS, which thinks /MPFR is a Unix-style file name and converts it +# to Windows format, butchering it in the process. Likewise for /API/ +# in the next shlib-tests. mpfr-tests: - @if $(AWK) --version | $(AWK) '/MPFR/ { exit 1 }' ; then \ + @if $(AWK) --version | $(AWK) ' /MPFR/ { exit 1 }' ; then \ echo MPFR tests not supported on this system ; \ else $(MAKE) $(MPFR_TESTS) ; \ fi shlib-tests: - @if $(AWK) --version | $(AWK) '/API/ { exit 1 }' ; then \ + @if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \ echo shlib tests not supported on this system ; \ else $(MAKE) shlib-real-tests ; \ fi diff --git a/test/filefuncs.awk b/test/filefuncs.awk index aa532741..4bbfcb55 100644 --- a/test/filefuncs.awk +++ b/test/filefuncs.awk @@ -6,8 +6,8 @@ BEGIN { exit 1 } - if (stat(ARGV[0], st) < 0) { - printf "Error: stat(%s) failed with ERRNO %s\n", ARGV[0], ERRNO + if (stat(ARGV[0] "api.o", st) < 0) { + printf "Error: stat(%s) failed with ERRNO %s\n", ARGV[0] "api.o", ERRNO exit 1 } |