[CLI] Introduce utilities for creating FirSession hierarchy in CLI for all platforms

Also support session creation and compilation for HMPP projects

^KT-56209 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-02-09 22:24:32 +02:00
committed by Space Team
parent 30ea4b6b53
commit 79e4df72bf
22 changed files with 783 additions and 633 deletions
@@ -166,6 +166,11 @@ public class CliTestGenerated extends AbstractCliTest {
public void testSourceNotInAnyModule() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/sourceNotInAnyModule.args");
}
@TestMetadata("successfulCompilation.args")
public void testSuccessfulCompilation() throws Exception {
runTest("compiler/testData/cli/jvm/hmpp/successfulCompilation.args");
}
}
@TestMetadata("compiler/testData/cli/jvm")
@@ -1453,6 +1458,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/js/sourceMapRootMultiple.args");
}
@TestMetadata("successfulHmpp.args")
public void testSuccessfulHmpp() throws Exception {
runTest("compiler/testData/cli/js/successfulHmpp.args");
}
@TestMetadata("suppressAllWarningsJS.args")
public void testSuppressAllWarningsJS() throws Exception {
runTest("compiler/testData/cli/js/suppressAllWarningsJS.args");
@@ -1618,5 +1628,10 @@ public class CliTestGenerated extends AbstractCliTest {
public void testOptionalExpectationUsageWithFir() throws Exception {
runTest("compiler/testData/cli/metadata/optionalExpectationUsageWithFir.args");
}
@TestMetadata("successfulHmpp.args")
public void testSuccessfulHmpp() throws Exception {
runTest("compiler/testData/cli/metadata/successfulHmpp.args");
}
}
}