[K/N] XCTest support: Make compiler produce bundles

XCTest test binary is a bundle plug-in that is similar to a framework.
This is a part of ^KT-58928

Merge-request: KT-MR-10662
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
This commit is contained in:
Pavel Punegov
2023-06-22 13:23:17 +00:00
committed by Space Team
parent 92bcf3b2d5
commit 1ad0a662fd
7 changed files with 123 additions and 23 deletions
@@ -26,6 +26,9 @@ enum class CompilerOutputKind {
BITCODE {
override fun suffix(target: KonanTarget?) = ".bc"
},
TEST_BUNDLE {
override fun suffix(target: KonanTarget?): String = ".xctest"
},
DYNAMIC_CACHE {
override fun suffix(target: KonanTarget?) = ".${target!!.family.dynamicSuffix}"