[K/N][tests] Add EnforcedHostTarget to atomicfu tests ^KT-65977

This commit is contained in:
Alexander Shabalin
2024-02-26 20:20:08 +01:00
committed by Space Team
parent a8fcef9cca
commit c491858a49
2 changed files with 13 additions and 2 deletions
@@ -363,7 +363,7 @@ fun main() {
testGroup("plugins/atomicfu/atomicfu-compiler/test", "plugins/atomicfu/atomicfu-compiler/testData") {
testClass<AbstractNativeBlackBoxTest>(
suiteTestClassName = "AtomicfuNativeTestGenerated",
annotations = listOf(atomicfuNative(), provider<UseStandardTestCaseGroupProvider>())
annotations = listOf(*atomicfuNative(), provider<UseStandardTestCaseGroupProvider>())
) {
model("nativeBox")
}
@@ -559,7 +559,10 @@ private fun debugger() = annotation(Tag::class.java, "debugger")
private fun infrastructure() = annotation(Tag::class.java, "infrastructure")
private fun k1libContents() = annotation(Tag::class.java, "k1libContents")
private fun k2libContents() = annotation(Tag::class.java, "k2libContents")
private fun atomicfuNative() = annotation(Tag::class.java, "atomicfu-native")
private fun atomicfuNative() = arrayOf(
annotation(Tag::class.java, "atomicfu-native"),
annotation(EnforcedHostTarget::class.java), // TODO(KT-65977): Make atomicfu tests run on all targets.
)
private fun standalone() = arrayOf(
annotation(Tag::class.java, "standalone"),
annotation(