diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-07-02 16:59:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-07-02 16:59:45 -0700 |
commit | da98d5314731206cd03038d589d10c5c32a0ce8c (patch) | |
tree | 4b7dd002a5edda8f2e6561c29bf6aee80a3e9303 /runtests | |
parent | 94ed05fe4df6a657884596bdabd03c7666a63de7 (diff) | |
download | cppawk-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-x | runtests | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -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 |