Skip to content
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

json-autotype 3.x fails it test suite when "cabal" is not in $PATH #25

Closed
peti opened this issue Dec 5, 2018 · 2 comments
Closed

json-autotype 3.x fails it test suite when "cabal" is not in $PATH #25

peti opened this issue Dec 5, 2018 · 2 comments
Labels

Comments

@peti
Copy link
Collaborator

peti commented Dec 5, 2018

The test suite has an undeclared dependency on cabal-install, which means that it will fail for users who don't have that tool in $PATH, i.e. because they are working with stack instead:

Running 3 test suites...
Test suite json-autotype-gen-test: RUNNING...
Test suite json-autotype-gen-test: PASS
Test suite logged to: dist/test/json-autotype-3.0.1-json-autotype-gen-test.log
Test suite json-autotype-qc-test: RUNNING...
Test suite json-autotype-qc-test: PASS
Test suite logged to: dist/test/json-autotype-3.0.1-json-autotype-qc-test.log
Test suite json-autotype-examples: RUNNING...
Running json-autotype with executable "cabal" and arguments ["run","--"]
json-autotype-examples: cabal: rawSystem: runInteractiveProcess: exec: does not exist (No such file or directory)
Test suite json-autotype-examples: FAIL
Test suite logged to: dist/test/json-autotype-3.0.1-json-autotype-examples.log
2 of 3 test suites (2 of 3 test cases) passed.
@peti peti added the bug label Dec 5, 2018
@workshub
Copy link

workshub bot commented Oct 4, 2019

This issue is now published on WorksHub. If you would like to work on this issue you can
start work on the WorksHub Issue Details page.

@mgajda
Copy link
Collaborator

mgajda commented Feb 6, 2020

Related to #22

@mgajda mgajda closed this as completed Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants