aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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