Move regex tests from the stdlib

This commit is contained in:
Pavel Punegov
2018-07-23 14:53:44 +03:00
committed by Pavel Punegov
parent b688646f4c
commit f41b2a7271
11 changed files with 14 additions and 0 deletions
+14
View File
@@ -2913,6 +2913,20 @@ if (isMac() && project.testTarget != 'wasm32') {
}
}
task buildKonanRegexTests(type: BuildKonanTest) {
outputSourceSetName = "testOutputStdlib"
compileList = [ "harmony_regex" ]
}
task runKonanRegexTests(type: RunKonanTest) {
dependsOn('buildKonanRegexTests')
outputSourceSetName = "testOutputStdlib"
// runs all tests and hence source name should be not null
source = "harmony_regex/ModeTest.kt"
useFilter = false
runnerLogger = RunKonanTest.Logger.GTEST
}
task buildKonanStdlibTests(type: BuildKonanTest) {
outputSourceSetName = "testOutputStdlib"
compileList = [ "stdlib_external", "testUtils.kt" ]