...
 
Commits (2)
......@@ -19,9 +19,7 @@ git masterJobLinux:
integrationMXNetJobLinux:
stage: linux
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/mxnet:v0.0.4
script:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -U clean install --settings settings.xml -Dtest=IntegrationMXNetTest
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/generators/emadl2cpp/integrationtests/mxnet:v0.0.4 script: - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -U clean install --settings settings.xml -Dtest=IntegrationMXNetTest
integrationCaffe2JobLinux:
......@@ -63,6 +61,6 @@ UnitTestJobLinux:
stage: linux
image: maven:3-jdk-8
script:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -U -X clean install sonar:sonar --settings settings.xml -Dtest="GenerationTest,SymtabTest*"
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B -U clean install sonar:sonar --settings settings.xml -Dtest="GenerationTest,SymtabTest*"
# - cat target/site/jacoco/index.html
......@@ -292,7 +292,7 @@ public class GenerationTest extends AbstractSymtabTest {
Paths.get("./src/test/resources/target_code/gluon/ganModel/defaultGAN"),
Arrays.asList(
"gan/CNNCreator_defaultGAN_defaultGANDiscriminator.py",
"gan/CNNNet_defaultGAN_defaultGANDiscriminator.py",
"gan/CNNNet_defdefaultGANDiscriminator.py",
"CNNCreator_defaultGAN_defaultGANConnector_predictor.py",
"CNNGanTrainer_defaultGAN_defaultGANConnector_predictor.py",
"CNNNet_defaultGAN_defaultGANConnector_predictor.py",
......@@ -348,7 +348,7 @@ public class GenerationTest extends AbstractSymtabTest {
Log.getFindings().clear();
String[] args = {"-m", "src/test/resources/models/ganModel", "-r", "defaultGANPreprocessing.GeneratorWithPreprocessing", "-b", "GLUON", "-f", "n", "-c", "n"};
EMADLGeneratorCli.main(args);
assertTrue(Log.getFindings().size() == 0);
assertTrue(Log.getFindings().toString(),Log.getFindings().size() == 0);
}
@Test
......
......@@ -76,7 +76,7 @@ public class IntegrationGluonTest extends IntegrationTest {
deleteHashFile(Paths.get("./target/generated-sources-emadl/PreprocessingNetwork.training_hash"));
String[] args = {"-m", "src/test/resources/models/", "-r", "PreprocessingNetwork", "-b", "GLUON"};
EMADLGeneratorCli.main(args);
assertTrue(Log.getFindings().size() == 0);
assertTrue(Log.getFindings().toString(),Log.getFindings().size() == 0);
}
@Test
......@@ -85,7 +85,8 @@ public class IntegrationGluonTest extends IntegrationTest {
deleteHashFile(Paths.get("./target/generated-sources-emadl/defaultGANPreprocessing/GeneratorWithPreprocessing.training_hash"));
String[] args = {"-m", "src/test/resources/models/ganModel", "-r", "defaultGANPreprocessing.GeneratorWithPreprocessing", "-b", "GLUON"};
EMADLGeneratorCli.main(args);
assertTrue(Log.getFindings().size() == 0);
assertTrue(Log.getFindings().toString(), Log.getFindings().size() == 0);
}
private void deleteHashFile(Path hashFile) {
......