Closed marklnichols closed 6 years ago
Is this on Windows or Linux ?
Windows (10)
Seems to work for me - which may be due to quite a few fixes that got added in the meantime. Can you try again, and if it fails, include a full trace of what you did. Mine was:
C:\Neil\debug>git pull
Already up-to-date.
C:\Neil\debug>cabal test
Preprocessing library debug-0.0.2...
Preprocessing test suite 'debug-test' for debug-0.0.2...
Preprocessing test suite 'debug-hoed-test' for debug-0.0.2...
[1 of 2] Compiling Util ( test\Util.hs, dist\build\debug-hoed-test\debug-hoed-test-tmp\Util.o )
[2 of 2] Compiling Hoed ( test\Hoed.hs, dist\build\debug-hoed-test\debug-hoed-test-tmp\Hoed.o )
Linking dist\build\debug-hoed-test\debug-hoed-test.exe ...
Running 2 test suites...
Test suite debug-test: RUNNING...
Test suite debug-test: PASS
Test suite logged to: dist\test\debug-0.0.2-debug-test.log
Test suite debug-hoed-test: RUNNING...
Test suite debug-hoed-test: PASS
Test suite logged to: dist\test\debug-0.0.2-debug-hoed-test.log
2 of 2 test suites (2 of 2 test cases) passed.
I fixed this, but forgot to update this ticket. The error in Windows was due to diff
not being available even in the stack MinGW environment. I looked into using pacman
to install it but decided against it and instead implemented the comparison in Haskell.
I'm seeing:
Test suite failure for package debug-0.0.2 debug-hoed-test: exited with: ExitFailure 1