Fix parser for linkerOpts/compilerOpts (KT-29970) (#2219)

This commit is contained in:
LepilkinaElena
2019-03-29 20:13:23 +03:00
committed by GitHub
parent 09b58403b9
commit 21fe5ac415
4 changed files with 15 additions and 15 deletions
@@ -182,7 +182,7 @@ class NewMultiplatformIT : BaseGradleIT() {
// Check that linker options were correctly passed to the K/N compiler.
checkProgramCompilationCommandLine {
assertTrue(it.contains("-linker-options -L."))
assertTrue(it.contains("-linker-option -L."))
}
}
@@ -933,7 +933,7 @@ class NewMultiplatformIT : BaseGradleIT() {
assertSuccessful()
}
// Check that run tasks work find and an entry point can be specified.
// Check that run tasks work fine and an entry point can be specified.
build("runDebugExecutable$hostSuffix") {
assertSuccessful()
assertTrue(output.contains("<root>.main"))
@@ -995,7 +995,7 @@ class NewMultiplatformIT : BaseGradleIT() {
build("linkCustomReleaseFrameworkIos") {
assertSuccessful()
checkFrameworkCompilationCommandLine {
assertTrue(it.contains("-linker-options -L."))
assertTrue(it.contains("-linker-option -L."))
assertTrue(it.contains("-Xtime"))
assertTrue(it.contains("-Xstatic-framework"))
assertFalse(it.contains("-Xembed-bitcode-marker"))