Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Tests for sequientially test run
Browse files Browse the repository at this point in the history
  • Loading branch information
joergboe committed Jul 25, 2019
1 parent b8ef4b3 commit 1fe1b9c
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#--variantCount=15
#--variantCount=14

setVar 'TTRO_stepsCase' 'myStep'

declare -a durations=(30 20 22 44 30 60 30 30 33 34
55 66 88 11 30)
55 66 88 11)
function myStep {
useCpu ${durations[$TTRO_variantCase]} $TTRO_variantCase "false"
}
}
9 changes: 9 additions & 0 deletions test/parallel/Collection/Suite2/Run3/TestCase.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#--variantCount=1
#--exclusive=true

setVar 'TTRO_stepsCase' 'myStep'

declare -a durations=(15)
function myStep {
useCpu ${durations[$TTRO_variantCase]} $TTRO_variantCase "false"
}
8 changes: 8 additions & 0 deletions test/parallel/Collection/Suite2/Run4/TestCase.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#--variantCount=1

setVar 'TTRO_stepsCase' 'myStep'

declare -a durations=(22)
function myStep {
useCpu ${durations[$TTRO_variantCase]} $TTRO_variantCase "false"
}
9 changes: 9 additions & 0 deletions test/parallel/Collection/Suite2/Run5/TestCase.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#--variantCount=2
#--exclusive=true

setVar 'TTRO_stepsCase' 'myStep'

declare -a durations=(15 14)
function myStep {
useCpu ${durations[$TTRO_variantCase]} $TTRO_variantCase "false"
}
3 changes: 3 additions & 0 deletions test/parallel/Collection/TestSuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ function testPreparation {
echo
echo "In Suite 1 the cases 7, 11 and 12 should be terminated"
echo
echo "In Suite 2 cases 'Run1' (2 variants), 'Run3' (1 variant) and 'Run5' (2 variants)"
echo "must be sequentially executed"
echo
promptYesNo
echo "$FUNCNAME : Running global test preparation"
useCpu 4 1 ""
Expand Down

0 comments on commit 1fe1b9c

Please sign in to comment.