run crypto/ab_tests separately
This commit is contained in:
parent
5631730f71
commit
3f4267eb65
1 changed files with 7 additions and 0 deletions
|
|
@ -99,10 +99,17 @@ rlJournalStart
|
|||
export PKCS11_USER_PIN=01234567
|
||||
export PKCS11_SO_PIN=76543210
|
||||
pushd $TESTDIR/crypto
|
||||
|
||||
RUN_SEPARATELY="ab_tests" # do not report results the usual way
|
||||
|
||||
for TEST in *_tests; do
|
||||
# skip test if it is on TODO list in README
|
||||
if grep -A 1 $TEST README | grep -q TODO; then
|
||||
rlLogWarning "Skipping $TEST since it is on TODO list in README"
|
||||
elif echo $RUN_SEPARATELY | grep -q $TEST; then
|
||||
ID=`get_test_id`
|
||||
rlRun "./$TEST $NOSKIP -slot $SLOT &> $TmpDir/testlog.$ID"
|
||||
[ $? -gt 0 ] && echo -e "Test log:\n" && cat $TmpDir/testlog.$ID # print log in case of error
|
||||
else
|
||||
ID=`get_test_id`
|
||||
rlRun "./$TEST $NOSKIP -slot $SLOT &> $TmpDir/testlog.$ID"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue