From: Kim Nguyễn Date: Thu, 18 Apr 2013 16:14:29 +0000 (+0200) Subject: Fix the Remakefile and testing script. X-Git-Tag: v0.1~94^2~5 X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=commitdiff_plain;h=8aee3aeab119fc323d0c15b2134b22cdcc130063 Fix the Remakefile and testing script. --- diff --git a/Remakefile.in b/Remakefile.in index 8a20f92..2903e3e 100644 --- a/Remakefile.in +++ b/Remakefile.in @@ -44,7 +44,7 @@ distclean: clean rm -rf config.status configure config.log autom4te.cache .remake Remakefile remake %.class: %.java - javac $1 + javac ${1%.class}.java %.native@EXE@: base=${1%.native} diff --git a/tools/do_tatoo.sh b/tools/do_tatoo.sh index a8c95c9..f80df14 100755 --- a/tools/do_tatoo.sh +++ b/tools/do_tatoo.sh @@ -1,6 +1,6 @@ #!/bin/sh -TESTPROG="./tatoo.native" +TESTPROG="src/tatoo.native" VERSION="$(git log -1 --oneline | cut -f1 -d ' ' 2>/dev/null)" if [ -z "$VERSION" ] then diff --git a/tools/gen_test_results.sh b/tools/gen_test_results.sh index c837618..b3d79e0 100755 --- a/tools/gen_test_results.sh +++ b/tools/gen_test_results.sh @@ -20,7 +20,7 @@ do echo -n "Diff ... " DIFFILE="$doc".results/"$qname"_"$N".diff - ./xml_diff.native $D > "$DIFFILE" 2>&1 + ./tools/xml_diff.native $D > "$DIFFILE" 2>&1 case "$?" in "0") echo "ok"