Minor: IGNORE_BACKEND: ANY_FIR -> IGNORE_BACKEND_FIR: ANY
for consistency with blackbox tests.
This commit is contained in:
@@ -230,8 +230,6 @@ public final class InTextDirectivesUtils {
|
||||
}
|
||||
|
||||
public static boolean isIgnoredTarget(TargetBackend targetBackend, File file, String ignoreBackendDirectivePrefix) {
|
||||
if (targetBackend == TargetBackend.ANY) return false;
|
||||
|
||||
List<String> ignoredBackends = findListWithPrefixes(textWithDirectives(file), ignoreBackendDirectivePrefix);
|
||||
return ignoredBackends.contains(targetBackend.name());
|
||||
}
|
||||
|
||||
@@ -763,10 +763,6 @@ public class KotlinTestUtils {
|
||||
}
|
||||
|
||||
private static DoTest testWithCustomIgnoreDirective(DoTest test, TargetBackend targetBackend, String ignoreDirective) throws Exception {
|
||||
if (targetBackend == TargetBackend.ANY && !AUTOMATICALLY_MUTE_FAILED_TESTS) {
|
||||
return test;
|
||||
}
|
||||
|
||||
return filePath -> {
|
||||
File testDataFile = new File(filePath);
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ enum class TargetBackend(
|
||||
private val compatibleWithTargetBackend: TargetBackend? = null
|
||||
) {
|
||||
ANY(false),
|
||||
ANY_FIR(true, ANY),
|
||||
JVM(false),
|
||||
JVM_IR(true, JVM),
|
||||
JS(false),
|
||||
|
||||
Reference in New Issue
Block a user