Skip to content

Test file missing from Hackage Tarball

After downloading the package from Hackage, it is not possible to run the test suite since the test file in the fixtures directory is missing:

Running 1 test suites...
Test suite jpeg-turbo-test: RUNNING...
test/Spec.hs
  TurboJPEG2: FAIL
    Exception: ../fixtures/lv.jpg: withBinaryFile: does not exist (No such file or directory)

1 out of 1 tests failed (0.00s)
Test suite jpeg-turbo-test: FAIL
Test suite logged to: dist/test/jpeg-turbo-0.1.0.0-jpeg-turbo-test.log
0 of 1 test suites (0 of 1 test cases) passed.

If this is not intentional, it needs to be added to the extra-source-files field in the cabal file. If it is intentional, test should probably skip the offending test case(s).