[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, cmake, updated. 871c74808578617fdf6dab0e
From: |
Juergen Kahrs |
Subject: |
[gawk-diffs] [SCM] gawk branch, cmake, updated. 871c74808578617fdf6dab0ee5b28b9c7d00aaae |
Date: |
Mon, 29 Apr 2013 17:21:47 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, cmake has been updated
via 871c74808578617fdf6dab0ee5b28b9c7d00aaae (commit)
from b6dbba36f373166e14cad2767b89d0331b8ac77c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=871c74808578617fdf6dab0ee5b28b9c7d00aaae
commit 871c74808578617fdf6dab0ee5b28b9c7d00aaae
Author: Juergen Kahrs <address@hidden>
Date: Mon Apr 29 19:21:17 2013 +0200
Native MinGW can now run tests with dynamic extensions; only a few of them
pass.
diff --git a/cmake/basictest b/cmake/basictest
index 95b98a1..56b530d 100755
--- a/cmake/basictest
+++ b/cmake/basictest
@@ -2,15 +2,8 @@
export PATH=$PATH:/c/MinGW/msys/1.0/bin
TESTHOME=$(dirname ${0})/../test
-export AWKPATH=${TESTHOME}
-export AWKLIBPATH=${TESTHOME}/../build/extension/
+export AWKLIBPATH=$(dirname ${1})/extension/
export LANG=C
-if test -r ${TESTHOME}/${2}.in
-then
- $1 $3 -f ${2}.awk < ${TESTHOME}/${2}.in > ${TESTHOME}/_${2} 2>&1 || echo
EXIT CODE: $? >> ${TESTHOME}/_${2}
-else
- $1 $3 -f ${2}.awk > ${TESTHOME}/_${2} 2>&1 || echo
EXIT CODE: $? >> ${TESTHOME}/_${2}
-fi
# Is this shell running in a native MinGW shell (MSYS) ?
if test -n "$COMSPEC"; then
# Ignore all differences in white space.
@@ -19,5 +12,11 @@ else
# This is a shell running in Unix environment.
COMPARE="cmp"
fi
+if test -r ${TESTHOME}/${2}.in
+then
+ $1 $3 -f ${2}.awk < ${TESTHOME}/${2}.in > ${TESTHOME}/_${2} 2>&1 || echo
EXIT CODE: $? >> ${TESTHOME}/_${2}
+else
+ $1 $3 -f ${2}.awk > ${TESTHOME}/_${2} 2>&1 || echo
EXIT CODE: $? >> ${TESTHOME}/_${2}
+fi
${COMPARE} ${TESTHOME}/${2}.ok ${TESTHOME}/_${2} && rm -f ${TESTHOME}/_${2}
-----------------------------------------------------------------------
Summary of changes:
cmake/basictest | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, cmake, updated. 871c74808578617fdf6dab0ee5b28b9c7d00aaae,
Juergen Kahrs <=