tests: Allow empty string in the test_flags option
This commit is contained in:
+3
-6
@@ -116,12 +116,9 @@ void loadCommandLineProperties() {
|
||||
if (project.hasProperty("konanc_flags")) {
|
||||
throw new Error("Specify either -Ptest_flags or -Pbuild_flags.")
|
||||
}
|
||||
ext.globalBuildArgs = project.hasProperty("build_flags")
|
||||
? ext.build_flags.split(' '): []
|
||||
ext.globalTestArgs = project.hasProperty("test_flags")
|
||||
? ext.test_flags.split(' '): []
|
||||
ext.testTarget = project.hasProperty("test_target")
|
||||
? ext.test_target: null
|
||||
ext.globalBuildArgs = project.hasProperty("build_flags") ? ext.build_flags.split() : []
|
||||
ext.globalTestArgs = project.hasProperty("test_flags") ? ext.test_flags.split() : []
|
||||
ext.testTarget = project.hasProperty("test_target") ? ext.test_target : null
|
||||
}
|
||||
|
||||
class PlatformInfo {
|
||||
|
||||
Reference in New Issue
Block a user