aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-19 10:52:06 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-19 10:52:06 +0100
commit837cabd91ab86749b5b94e9177bf6721b4c38377 (patch)
tree16208c7315c961b52f88db7e063a1fc878c6c16a
parent9a848ca6fe17d8b957713152ef44aced99384505 (diff)
downloadvis-837cabd91ab86749b5b94e9177bf6721b4c38377.tar.gz
vis-837cabd91ab86749b5b94e9177bf6721b4c38377.tar.xz
test: ignore custom visrc.lua configuration
-rwxr-xr-xlua/test.sh3
-rwxr-xr-xsam/test.sh1
-rw-r--r--sam/visrc.lua0
-rwxr-xr-xvis/test.sh3
4 files changed, 3 insertions, 4 deletions
diff --git a/lua/test.sh b/lua/test.sh
index 00501d3..4209f5c 100755
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -1,5 +1,6 @@
#!/bin/sh
+export VIS_PATH=.
[ -z "$VIS" ] && VIS="../../vis"
$VIS -v
@@ -13,8 +14,6 @@ else
test_files="$(find . -type f -name "*.in") basic_empty_file.in"
fi
-export VIS_PATH=.
-
for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}
diff --git a/sam/test.sh b/sam/test.sh
index 0a50879..0d904ff 100755
--- a/sam/test.sh
+++ b/sam/test.sh
@@ -3,6 +3,7 @@
NL='
'
+export VIS_PATH=.
[ -z "$VIS" ] && VIS="../../vis"
[ -z "$SAM" ] && SAM="sam"
[ -z "$PLAN9" ] && PLAN9="/usr/local/plan9/bin"
diff --git a/sam/visrc.lua b/sam/visrc.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sam/visrc.lua
diff --git a/vis/test.sh b/vis/test.sh
index 775890c..3b80818 100755
--- a/vis/test.sh
+++ b/vis/test.sh
@@ -1,5 +1,6 @@
#!/bin/sh
+export VIS_PATH=.
[ -z "$VIS" ] && VIS="../../vis"
$VIS -v
@@ -13,8 +14,6 @@ else
test_files="$(find . -type f -name '*.in')"
fi
-export VIS_PATH=.
-
for t in $test_files; do
TESTS_RUN=$((TESTS_RUN + 1))
t=${t%.in}