From 837cabd91ab86749b5b94e9177bf6721b4c38377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 19 Dec 2016 10:52:06 +0100 Subject: test: ignore custom visrc.lua configuration --- lua/test.sh | 3 +-- sam/test.sh | 1 + sam/visrc.lua | 0 vis/test.sh | 3 +-- 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 sam/visrc.lua 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 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} -- cgit v1.2.3