Skip to content

Commit

Permalink
set tests.defaultvectorization if default randomly selected
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHegarty committed May 9, 2024
1 parent e5b50c2 commit c4ccb99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gradle/testing/randomization.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ allprojects {
[propName: 'tests.forceintegervectors',
value: { -> testsDefaultVectorizationRequested() ? false : (randomVectorSize != 'default') },
description: "Forces use of integer vectors even when slow."],
[propName: 'tests.defaultvectorization', value: false,
[propName: 'tests.defaultvectorization',
value: { -> (randomVectorSize == 'default') },
description: "Uses defaults for running tests with correct JVM settings to test Panama vectorization (tests.jvmargs, tests.vectorsize, tests.forceintegervectors)."],
]
}
Expand Down

0 comments on commit c4ccb99

Please sign in to comment.