Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/aot-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
target/graalvm-native-image/jelly-cli rdf to-jelly --in-format "rdfxml" > rdfxml.jelly && \
[ -s rdfxml.jelly ]

# Invalid RDF/XMl input test
# Regression test for: https://github.com/Jelly-RDF/cli/issues/217
echo 'invalidxml' | \
( ! target/graalvm-native-image/jelly-cli rdf to-jelly --in-format "rdfxml" &> error.txt ) && \
grep 'Content is not allowed in prolog' error.txt

# Test rdf validate
target/graalvm-native-image/jelly-cli \
rdf validate out.jelly --compare-to-rdf-file in.nt
Expand Down
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ lazy val graalOptions = Seq(
"-H:+UsePredicates", // SkipFlow optimization -- will be default in GraalVM 25
// Make sure we don't include stuff that should be unreachable in the native image
"-H:AbortOnMethodReachable=*UUID.randomUUID*",
// Include XML error messages
// Issue: https://github.com/Jelly-RDF/cli/issues/217
"-H:IncludeResourceBundles=com.sun.org.apache.xerces.internal.impl.msg.XMLMessages",
)

lazy val TestSerial = config("test-serial") extend Test
Expand Down