ttcn3-bts-test/fh: fix: properly rename classnames
Not only append ':hopping' to classnames equal 'BTS_Tests', but also 'BTS_Tests_SMSCB' and 'BTS_Tests_LAPDm', so they would not shadow non-hopping test cases in the test results analyzer. Change-Id: Ie6ed7844c2d0dfd839181bce971506284da03d28 Related: SYS#4868, OS#4546
This commit is contained in:
parent
a21c4f2fac
commit
149de2822d
|
@ -175,8 +175,11 @@ docker container kill ${BUILD_TAG}-bts
|
|||
start_bsc
|
||||
start_bts trx 0
|
||||
start_testsuite hopping
|
||||
# rename the test results, so they appear as 'BTS_Tests:hopping' in Jenkins
|
||||
sed -i "s#classname='BTS_Tests'#classname='BTS_Tests:hopping'#g" \
|
||||
# append ':hopping' to the classnames,
|
||||
# e.g. "classname='BTS_Tests'" => "classname='BTS_Tests:hopping'"
|
||||
# e.g. "classname='BTS_Tests_SMSCB'" => "classname='BTS_Tests_SMSCB:hopping'"
|
||||
# so the hopping test cases would not interfere with non-hopping ones in Jenkins
|
||||
sed -i "s/classname='\([^']\+\)'/classname='\1:hopping'/g" \
|
||||
$VOL_BASE_DIR/bts-tester-hopping/junit-xml-hopping-*.log
|
||||
|
||||
echo Stopping containers
|
||||
|
|
Loading…
Reference in New Issue