Testing builders fails unless the file is changed and saved.

The actual error is not shown: Unexpected error: Exception during evaluation. (see https://yellowgrass.org/issue/SPTWithCore/2)

For example: https://github.com/metaborg/relations/blob/feature/use-spoofax-core/relations.tests/generate/helloworld/helloworld.spt

Console shows:

19:46 | INFO  | stderr                         - Checking markers of Test(" ",description("Hello World execute-java "),Input("[[",QuotePart(" "),Done,"]]"){Module("helloworld",Some(ModelDef([Entity(EntityType,"Message",[Attribute("text",String,None,None)])])),Some(DataDef([EntityInstance(EntityRef("Message"),Some("hello"),[],[AttributeValue(AttributeRef("text"),String("Hello World!"))])])),Some(Executable([MemberAccess(Ref("hello"),"text")])))},[Build("execute-java-test",None,ATerm(fun(quoted("\"Hello World!\""))))])
19:46 | INFO  | stderr                         - fragment: Module("helloworld",Some(ModelDef([Entity(EntityType,"Message",[Attribute("text",String,None,None)])])),Some(DataDef([EntityInstance(EntityRef("Message"),Some("hello"),[],[AttributeValue(AttributeRef("text"),String("Hello World!"))])])),Some(Executable([MemberAccess(Ref("hello"),"text")])))
19:46 | INFO  | stderr                         - markers: []
19:46 | INFO  | stderr                         - Spoofax Core Analysis of test: (ModuleDesugared("helloworld",ModelDef([Entity(EntityType,"Message",[Attribute("text",String,One,None)])]),DataDef([EntityInstance(EntityRef("Message"),"hello",[],[AttributeValue(AttributeRef("text"),String("Hello World!"))])]),Executable([MemberAccess(Ref("hello"),"text")])),[],[],[])
19:46 | INFO  | stderr                         - Exception during evaluation
19:46 | INFO  | stderr                         - Messages generated: ["Unexpected error: Exception during evaluation"]
Submitted by Daco Harkes on 12 January 2016 at 19:47

On 14 January 2016 at 15:47 Gabriƫl Konat removed tag @gohla

Log in to post comments