Skip to content

replaced junit test runner by rascal test runner - #66

Open
jurgenvinju wants to merge 1 commit into
mainfrom
to-rascal-test-runner
Open

jurgenvinju wants to merge 1 commit into
mainfrom
to-rascal-test-runner

Conversation

@jurgenvinju

Copy link
Copy Markdown
Member

The tests all succeed but this funny message is being printed:

[INFO] The Rascal runtime was resolved at /Users/jurgenv/.m2/repository/org/rascalmpl/rascal/0.43.0/rascal-0.43.0.jar
[ERROR] JavaCompilation: Java compilation failed due to method regular_seq_XGNoYXItY2xhc3MoW3JhbmdlKDY1LDkwKV0p_XGl0ZXItc3RhcihcY2hhci1jbGFzcyhbcmFuZ2UoNDgsNTcpLHJhbmdlKDY1LDkwKSxyYW5nZSg5NywxMjIpXSkp() is already defined in class org.rascalmpl.test.parser.$GENERATED_PARSER$1747136539 at 3470, 44
    * org.rascalmpl.interpreter.utils.JavaBridge.compileJava(JavaBridge.java:134)
org.rascalmpl.interpreter.utils.JavaBridge.compileJava(JavaBridge.java:113)
org.rascalmpl.parser.ParserGenerator.getNewParser(ParserGenerator.java:232)
org.rascalmpl.parser.ParserGenerator.getNewParser(ParserGenerator.java:195)
org.rascalmpl.values.RascalFunctionValueFactory.generateParser(RascalFunctionValueFactory.java:117)
org.rascalmpl.values.RascalFunctionValueFactory.lambda$new$0(RascalFunctionValueFactory.java:94)
com.github.benmanes.caffeine.cache.LocalLoadingCache.lambda$newMappingFunction$3(LocalLoadingCache.java:197)
com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$13(BoundedLocalCache.java:2550)
java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1908)
com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2548)
com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2531)
com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:110)
com.github.benmanes.caffeine.cache.LocalLoadingCache.get(LocalLoadingCache.java:58)
org.rascalmpl.values.RascalFunctionValueFactory.getParserClass(RascalFunctionValueFactory.java:125)
org.rascalmpl.values.RascalFunctionValueFactory.parsers(RascalFunctionValueFactory.java:289)
org.rascalmpl.semantics.dynamic.Import.parseModuleAndFragments(Import.java:568)
org.rascalmpl.interpreter.Evaluator.parseModuleAndFragments(Evaluator.java:1433)
org.rascalmpl.interpreter.Evaluator.parseModuleAndFragments(Evaluator.java:1427)
org.rascalmpl.semantics.dynamic.Import.buildModule(Import.java:434)
org.rascalmpl.semantics.dynamic.Import.loadModule(Import.java:359)
org.rascalmpl.semantics.dynamic.Import.importModule(Import.java:257)
org.rascalmpl.interpreter.Evaluator.doImport(Evaluator.java:1126)
org.rascalmpl.shell.RascalTest.runTestsForModules(RascalTest.java:120)
org.rascalmpl.shell.RascalTest.main(RascalTest.java:62)


Pascal Test Summary: 82 tests executed, 82 succeeded, 0 failed
Parse time: 22 msec; Test time: 5136 msec
Executing Pascal examples
Executing Pascal examples: true

@jurgenvinju

Copy link
Copy Markdown
Member Author
  • This message is not printed on the main branch (where only modules under the "examples" folder are tested.
  • So this is a module that is not under examples which does not parse correctly anymore

@jurgenvinju

Copy link
Copy Markdown
Member Author

This is a about a sequence symbol; hence it could be a bug related to the new feature of parsing regular expressions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant