From da98d5314731206cd03038d589d10c5c32a0ce8c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 2 Jul 2022 16:59:45 -0700 Subject: 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". --- runtests | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'runtests') 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 -- cgit v1.2.3