Add cli test with default JDK8 and -Xjdk-release=1.8
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
-Xjdk-release=1.8
|
||||
$TESTDATA_DIR$/jdkRelease.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
+1
@@ -0,0 +1 @@
|
||||
fun clear(byteByffer: java.nio.ByteBuffer) = byteByffer.clear()
|
||||
+1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user