beast2 icon indicating copy to clipboard operation
beast2 copied to clipboard

Integration junit test ExampleXmlParsingTest fails for addon packages

Open kche309 opened this issue 4 years ago • 0 comments

The test_ThatParameterisedXmlExamplesRuns method from ExampleXmlParsingTest uses user.dir paths for inputs RSV2.json, RSV2.xml and output /tmp/RSV2.out.xml

When I run ant build_all_<package> or ant junit_<package> for my package, it fails to find the input files.

Suggest to use paths constructed as

Path dir = Paths.get(System.getProperty("user.dir"), "..", "beast2", "examples", "parameterised");

kche309 avatar Jun 10 '21 00:06 kche309