Minor, optimize newly added tests on unsigned intrinsics
Remove "JVM_TARGET: 1.6" directive from box tests and remove tests with JVM target 1.8. By default, box tests are run with JVM target 1.6, and there's an additional configuration `codegenTarget8Jvm8Test` that runs all box tests with JVM target 1.8. Also, remove box tests with JVM target 1.6. They aren't needed because even if we manage to generate incorrect bytecode with target 1.6, the corresponding box tests will catch that
This commit is contained in:
@@ -3530,61 +3530,31 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/unsignedTypes"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm16.kt")
|
||||
public void testUnsignedIntCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntCompare_jvm18.kt")
|
||||
public void testUnsignedIntCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm16.kt")
|
||||
public void testUnsignedIntDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntDivide_jvm18.kt")
|
||||
public void testUnsignedIntDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm16.kt")
|
||||
public void testUnsignedIntRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedIntRemainder_jvm18.kt")
|
||||
public void testUnsignedIntRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedIntRemainder_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm16.kt")
|
||||
public void testUnsignedLongCompare_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongCompare_jvm18.kt")
|
||||
public void testUnsignedLongCompare_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongCompare_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm16.kt")
|
||||
public void testUnsignedLongDivide_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongDivide_jvm18.kt")
|
||||
public void testUnsignedLongDivide_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongDivide_jvm18.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm16.kt")
|
||||
public void testUnsignedLongRemainder_jvm16() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm16.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unsignedLongRemainder_jvm18.kt")
|
||||
public void testUnsignedLongRemainder_jvm18() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/unsignedTypes/unsignedLongRemainder_jvm18.kt");
|
||||
|
||||
Reference in New Issue
Block a user