HTF icon indicating copy to clipboard operation
HTF copied to clipboard

Both `stack test` and `cabal test` fail (0.15.0.2)

Open andreasabel opened this issue 8 months ago • 1 comments

$ stack test

[TEST] unitTest
HUnitFailure (Just (SrcLoc {srcLocPackage = "HTF-0.15.0.2-DoswWzEeMlJ7TJgyjjkiDd", srcLocModule = "Test.Framework.TestManager", srcLocFile = "./Test/Framework/TestManager.hs", srcLocStartLine = 506, srcLocStartCol = 22, srcLocEndLine = 506, srcLocEndCol = 38})) (Reason "Fail")
@@@ Error! (0ms)

* Tests:     1
* Passed:    0
* Pending:   0
* Failures:  0
* Errors:    1
* Timed out: 0
* Filtered:  0

* Errors:
  * unitTest

[TEST] tests/real-bbt/Repeat.sh
stderr for "/bin/bash  tests/real-bbt/Repeat.sh":

Error: [S-6362]
       No compiler found, expected minor version match with ghc-9.8.2 (aarch64) (based on the
       configuration in /Users/abel/project/open-source/HTF/stack.yaml).
       
       To install the correct version of GHC into the subdirectory for the specified platform in
       Stack's directory for local tools (/Users/abela/.stack/programs/aarch64-osx/), try running
       stack setup or use the --install-ghc flag. To use your system GHC installation, run stack
       config set system-ghc --global true, or use the --system-ghc flag.
Command failed: stack  path --dist-dir
ERROR: Could not determined dist directory. See above for details. Aborting
[end of stderr]
stdout for "/bin/bash  tests/real-bbt/Repeat.sh":
[end of stdout]
test is supposed to succeed but failed with exit code 1
*** Failed! (184ms)
...

Similar with cabal test.

andreasabel avatar May 11 '25 14:05 andreasabel