nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a36d1
)
tests: teach tests.sh to use MNIT_* environment variables
author
Jean Privat
<jean@pryen.org>
Mon, 16 Jun 2014 15:37:34 +0000
(11:37 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 1 Jul 2014 19:05:42 +0000
(15:05 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
tests/tests.sh
patch
|
blob
|
history
diff --git
a/tests/tests.sh
b/tests/tests.sh
index
956c0ab
..
776be84
100755
(executable)
--- a/
tests/tests.sh
+++ b/
tests/tests.sh
@@
-20,6
+20,7
@@
# Set lang do default to avoid failed tests because of locale
export LANG=C
export NIT_TESTING=true
+export MNIT_SRAND=0
unset NIT_DIR
@@
-435,8
+436,10
@@
for ii in "$@"; do
if [ -f "$f.inputs" ]; then
inputs="$f.inputs"
+ export MNIT_READ_INPUT="$f.inputs"
else
inputs=/dev/null
+ export MNIT_READ_INPUT=/dev/null
fi
if [ "$engine" = "niti" ]; then