diff --git a/build.gradle b/build.gradle index 39a5d7335..bcf7ea4ef 100644 --- a/build.gradle +++ b/build.gradle @@ -224,6 +224,21 @@ task buildLanguages(type: BuildLanguages, dependsOn: prebuild) { script "$buildDir/scripts/build-languages.xml" } +task execTestsByInterpreter(type: TestLanguages, dependsOn: buildLanguages) { + script "$buildDir/scripts/build-testInterpreter.xml" + targets "generate","build" + doLast { + ant.taskdef(name: 'junitInterpreterReport', + classname: 'org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator', + classpath: configurations.junitAnt.asPath) + ant.junitInterpreterReport(toDir: "$buildDir", toFile: "TEST-InterpreterTestSuites.xml") { + fileset(dir: "$buildDir", includes: '**/TEST-InterpreterTestSuites.xml') + report(format: 'frames', todir: "$buildDir/junitInterpreterReport") + } + ant.echo("JUnit Interpreter report placed into $buildDir/junitInterpreterReport/index.html") + } +} + task buildAndRunTests(type: TestLanguages, dependsOn: buildLanguages) { script "$buildDir/scripts/build-tests.xml" diff --git a/code/languages/org.iets3.opensource/.mps/modules.xml b/code/languages/org.iets3.opensource/.mps/modules.xml index c6e4f2f4a..f4eaf6b05 100644 --- a/code/languages/org.iets3.opensource/.mps/modules.xml +++ b/code/languages/org.iets3.opensource/.mps/modules.xml @@ -139,10 +139,10 @@ - + diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/models/org.iets3.core.junit.interpreter.run.configuration.plugin.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/models/org.iets3.core.junit.interpreter.run.configuration.plugin.mps index 4cadbd69f..a69ee1d0f 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/models/org.iets3.core.junit.interpreter.run.configuration.plugin.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/models/org.iets3.core.junit.interpreter.run.configuration.plugin.mps @@ -3750,9 +3750,6 @@ - - - @@ -4333,9 +4330,6 @@ - - - @@ -4442,9 +4436,6 @@ - - - @@ -4505,9 +4496,6 @@ - - - diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/org.iets3.core.junit.interpreter.run.configuration.msd b/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/org.iets3.core.junit.interpreter.run.configuration.msd index c28160f9c..296888d24 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/org.iets3.core.junit.interpreter.run.configuration.msd +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.core.junit.interpreter.run.configuration/org.iets3.core.junit.interpreter.run.configuration.msd @@ -1,7 +1,7 @@ - + @@ -12,7 +12,7 @@ 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) - f618e99a-2641-465c-bb54-31fe76f9e285(jetbrains.mps.baseLanguage.unitTest.execution) + f618e99a-2641-465c-bb54-31fe76f9e285(jetbrains.mps.baseLanguage.unitTest.execution) 019b622b-0aef-4dd3-86d0-4eef01f3f6bb(jetbrains.mps.ide) bf659d6c-5638-4ea1-972b-4d492b5a91f2(jetbrains.mps.execution.configurations.implementation.plugin) 04b376d5-fc16-403b-a344-c68b30193c6a(jetbrains.mps.execution.library) diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps index 09f61dca2..f4569b819 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.build/models/org/iets3/opensource/build/build.mps @@ -953,7 +953,6 @@ - @@ -15393,96 +15392,95 @@ - + - + - - + - + - - - - + + + + - - - + + + - - + + - - + + + + + + + - - - + + + - + + + + + + - - + + - + - - - + + + - + - - - + + + - + - - + + - - + + - - - - - - - - - - - + diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/models/org.iets3.opensource.TestExecutorByInterpreter.TestExecutorByInterpreter.mps b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/models/org.iets3.opensource.interpreterExecutor.mps similarity index 99% rename from code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/models/org.iets3.opensource.TestExecutorByInterpreter.TestExecutorByInterpreter.mps rename to code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/models/org.iets3.opensource.interpreterExecutor.mps index ebfd8f338..361179217 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/models/org.iets3.opensource.TestExecutorByInterpreter.TestExecutorByInterpreter.mps +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/models/org.iets3.opensource.interpreterExecutor.mps @@ -1,5 +1,5 @@ - + @@ -16,7 +16,6 @@ - diff --git a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/org.iets3.opensource.TestExecutorByInterpreter.msd b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/org.iets3.opensource.interpreterExecutor.msd similarity index 96% rename from code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/org.iets3.opensource.TestExecutorByInterpreter.msd rename to code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/org.iets3.opensource.interpreterExecutor.msd index 6ac46c3db..c81f0982b 100644 --- a/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.TestExecutorByInterpreter/org.iets3.opensource.TestExecutorByInterpreter.msd +++ b/code/languages/org.iets3.opensource/solutions/org.iets3.opensource.interpreterExecutor/org.iets3.opensource.interpreterExecutor.msd @@ -1,12 +1,12 @@ - + - + @@ -81,7 +81,7 @@ - +