aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README5
-rwxr-xr-xtest-all4
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 7507b12..5ef6209 100644
--- a/README
+++ b/README
@@ -9,6 +9,11 @@ To test your implementations run
env EPATH=<path> ./test-all [<utils>...]
+If you have exec-as installed, and what to test
+multi-call binary, run
+
+ env EXECBOX=<binary> ./test-all [<utils>...]
+
you also copy all files into <path> and just run
./test [<utils>...]
diff --git a/test-all b/test-all
index dd7abea..d4acef8 100755
--- a/test-all
+++ b/test-all
@@ -16,6 +16,10 @@ if test -n "${EPATH}"; then
for c in $(all); do
eval "export $(echo $c | tr '[a-z-]' '[A-Z_]')='$(realpath "$(env PATH="${EPATH}" "$(which which)" $c)")'"
done
+elif test -n "${EXECBOX}"; then
+ for c in $(all); do
+ eval "export $(echo $c | tr '[a-z-]' '[A-Z_]')='exec-as $(realpath "${EXECBOX}") $c'"
+ done
elif test -n "${IN_PATH}"; then
for c in $(all); do
eval "export $(echo $c | tr '[a-z-]' '[A-Z_]')='$(realpath "$(which $c)")'"