aboutsummaryrefslogtreecommitdiffstats
path: root/runtests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-02 16:59:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-02 16:59:45 -0700
commitda98d5314731206cd03038d589d10c5c32a0ce8c (patch)
tree4b7dd002a5edda8f2e6561c29bf6aee80a3e9303 /runtests
parent94ed05fe4df6a657884596bdabd03c7666a63de7 (diff)
downloadcppawk-da98d5314731206cd03038d589d10c5c32a0ce8c.tar.gz
cppawk-da98d5314731206cd03038d589d10c5c32a0ce8c.tar.bz2
cppawk-da98d5314731206cd03038d589d10c5c32a0ce8c.zip
Restructure cppawk installation.
cppawk now expects to be installed in some directory (typically "bin"), such that the include files are in a "share/cppawk/include" directory where "share" is a sibling of "bin". The git repository is restructured to match this shape; cppawk is moved into "bin", and the include files into "share/cppawk/include".
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests30
1 files changed, 15 insertions, 15 deletions
diff --git a/runtests b/runtests
index 339dcd2..f060349 100755
--- a/runtests
+++ b/runtests
@@ -4,40 +4,40 @@ trap 'rm -f output script.sh' EXIT INT TERM
suite=$1
if [ -z "$suite" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases
- cppawk="./cppawk --nobash" ./testsuite.awk testcases
+ cppawk=./bin/cppawk ./testsuite.awk testcases
+ cppawk="./bin/cppawk --nobash" ./testsuite.awk testcases
fi
if [ -z "$suite" -o "$suite" = "case" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-case
- cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-case
+ cppawk=./bin/cppawk ./testsuite.awk testcases-case
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-case
fi
if [ -z "$suite" -o "$suite" = "narg" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-narg
+ cppawk=./bin/cppawk ./testsuite.awk testcases-narg
fi
if [ -z "$suite" -o "$suite" = "iter" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-iter
- cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-iter
+ cppawk=./bin/cppawk ./testsuite.awk testcases-iter
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-iter
fi
if [ -z "$suite" -o "$suite" = "varg" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-varg
- cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-varg
+ cppawk=./bin/cppawk ./testsuite.awk testcases-varg
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-varg
fi
if [ -z "$suite" -o "$suite" = "cons" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-cons
- cppawk="./cppawk --awk=mawk" ./testsuite.awk -v skip=37,38 testcases-cons
+ cppawk=./bin/cppawk ./testsuite.awk testcases-cons
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=37,38 testcases-cons
fi
if [ -z "$suite" -o "$suite" = "field" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-field
- cppawk="./cppawk --awk=mawk" ./testsuite.awk testcases-field
+ cppawk=./bin/cppawk ./testsuite.awk testcases-field
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk testcases-field
fi
if [ -z "$suite" -o "$suite" = "array" ] ; then
- cppawk=./cppawk ./testsuite.awk testcases-array
- cppawk="./cppawk --awk=mawk" ./testsuite.awk -v skip=5,6 testcases-array
+ cppawk=./bin/cppawk ./testsuite.awk testcases-array
+ cppawk="./bin/cppawk --awk=mawk" ./testsuite.awk -v skip=5,6 testcases-array
fi