Skip to content

Both stack test and cabal test fail (0.15.0.2) #133

@andreasabel

Description

@andreasabel
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions