-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-rdf4h: rdf-tests/turtle/manifest.ttl: openFile: does not exist (No such file or directory) #39
Comments
@juhp the instructions for running the tests for this library are in the README.md file:
I could I suppose integrate this into my Test.hs (main) file for the test suite, I thought it cleaner to do the way above. Do you know of a way to integrate the above |
AFAIK |
Is there a workaround for this? I can't seem to build rdf4h on nixos because of this bug. |
@JonathanReeve I'm not a nixos user. Can nixos not run:
Before
? |
Nix runs tests for whatever package (Haskell or otherwise) has tests, and installation will fail if the tests fail. So any package that depends on rdf4h will fail to install if rdf4h runs tests that fail. Is there a way to put those git commands in the test suite somehow? Or put the test suite in the submodule? Another option is to add rdf4h to the list of packages that Nix skips checks for, but ideally it could still run the tests, and the tests would pass. BTW you can reproduce this, even if you're not on nixos, by installing Nix and running |
@juhp @JonathanReeve can there be any workaround for this? This rdf4h library now passes all W3C RDF parser unit tests for NTriples, Turtle and XML, and it'd be good to have rdf4h on stackage. The TravisCI automated testing works out-of-the-box, because when it spots the rdf-tests submodule in this repo, it runs https://travis-ci.org/robstewart57/rdf4h/jobs/631996835#L182 Do similar mechanisms not exist in stackage/nix? |
When building for Stackage LTS 8:
The text was updated successfully, but these errors were encountered: