Skip to content

Commit

Permalink
Tests: add test parameter to run RA in stress mode
Browse files Browse the repository at this point in the history
This commit adds one more parameter to run all tests with `stressRA`
config option.
  • Loading branch information
janvrany committed May 24, 2024
1 parent 45d8cdd commit ee81d2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Tinyrossa-Tests/TRCompilationTestCase.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ TRCompilationTestCase >> int64Values [
{ #category : #accessing }
TRCompilationTestCase >> parametersIterator [
^ super parametersIterator ,
(self parameter: #target values: { self target })
(self parameter: #target values: { self target }),
(self parameter: #stressRA values: { true . false })
]

{ #category : #running }
Expand All @@ -67,6 +68,7 @@ TRCompilationTestCase >> setUp [
target := testParameters at:#target.

compilation := TRCompilation forTarget: target.
compilation config stressRA: (testParameters at: #stressRA).
shell := TRCompilationTestShell forCompilation: compilation.
]

Expand Down

0 comments on commit ee81d2f

Please sign in to comment.