migamake / json-autotype

Automatic Haskell type inference from JSON input
149 stars 23 forks source link

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

Closed peti closed 3 years ago

peti commented 5 years ago

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.
workshub[bot] commented 5 years ago

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 commented 4 years ago

Related to #22