Updated call tests

This commit is contained in:
Tripon Alexandru-Ionut
2019-06-11 17:33:43 +03:00
committed by Dan Christian Bogos
parent 8c8238b444
commit 5e365752b0
6 changed files with 73 additions and 44 deletions

View File

@@ -1,9 +1,18 @@
#! /usr/bin/env sh
# ./local_test.sh
lcl=$?
echo 'go test github.com/cgrates/cgrates/general_tests -tags=call'
go test github.com/cgrates/cgrates/general_tests -tags=call -timeout=10h
gnr=$?
# lcl=$?
echo 'go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestFreeswitchCalls'
go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestFreeswitchCalls
gnr1=$?
echo 'go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestKamailioCalls'
go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestKamailioCalls
gnr2=$?
echo 'go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestOpensipsCalls'
go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestOpensipsCalls
gnr3=$?
echo 'go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestAsteriskCalls'
go test github.com/cgrates/cgrates/general_tests -tags=call -run=TestAsteriskCalls
gnr4=$?
exit $gen && $gnr
exit $gnr1 && $gnr2 && $gnr3 && $gnr4