aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-smoke-tests
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-03-07 14:35:12 +0100
committerBjörn Gustavsson <[email protected]>2017-03-08 14:30:00 +0100
commit5f9d4d60a92d74221c751f74fa5ae9422ccc803d (patch)
tree7c3087349fe8a87113a642b181f9bed19fef4cf0 /scripts/run-smoke-tests
parent247412294cbd04ecbd9680646b16d08f53255caa (diff)
downloadotp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.tar.gz
otp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.tar.bz2
otp-5f9d4d60a92d74221c751f74fa5ae9422ccc803d.zip
run-smoke-test: Let ERL_TOP default to current working directory
Diffstat (limited to 'scripts/run-smoke-tests')
-rwxr-xr-xscripts/run-smoke-tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run-smoke-tests b/scripts/run-smoke-tests
index c2333e7825..8912c419a4 100755
--- a/scripts/run-smoke-tests
+++ b/scripts/run-smoke-tests
@@ -1,6 +1,10 @@
#!/bin/bash
set -ev
+if [ -z "$ERL_TOP" ]; then
+ ERL_TOP=$(pwd)
+fi
+
cd $ERL_TOP/release/tests/test_server
$ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop