aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-smoke-tests
blob: c2333e7825cbbe7481fc4ab0b5312809c9eba762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -ev

cd $ERL_TOP/release/tests/test_server
$ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop

if grep -q '=failed *[1-9]' ct_run.test_server@*/*/run.*/suite.log; then
    echo "One or more tests failed."
    exit 1
fi