Add cli test with default JDK8 and -Xjdk-release=1.8

This commit is contained in:
Mikhael Bogdanov
2021-12-07 14:38:43 +01:00
committed by Space
parent 9221810d7f
commit 860d0a4296
4 changed files with 11 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
-Xjdk-release=1.8
$TESTDATA_DIR$/jdkRelease.kt
-d
$TEMP_DIR$
+1
View File
@@ -0,0 +1 @@
fun clear(byteByffer: java.nio.ByteBuffer) = byteByffer.clear()
+1
View File
@@ -0,0 +1 @@
OK
@@ -466,6 +466,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/jdkPathDoesNotExist.args");
}
@TestMetadata("jdkRelease.args")
public void testJdkRelease() throws Exception {
runTest("compiler/testData/cli/jvm/jdkRelease.args");
}
@TestMetadata("jspecifyByLv15.args")
public void testJspecifyByLv15() throws Exception {
runTest("compiler/testData/cli/jvm/jspecifyByLv15.args");