Skip to content

Test failure in 0.15.0.1 #123

@felixonmars

Description

@felixonmars

Hi, I am getting the following test failures in HTF 0.15.0.1 under GHC 9.0.2, Arch Linux x86_64:

Unexpected elements: fromList ["bbt/should_fail/not_ok_because_stdout2.x","bbt/should_fail/not_ok_because_succeeds.x"]
Elements expected but not present: fromList ["bbt/should_fail/ok2.x","bbt/should_pass/ok1.x","bbt/should_pass/ok2.x","bbt/should_pass/stdin_ok.x"])
Test suite TestHTF: FAIL
Test suite logged to: dist/test/HTF-0.15.0.1-TestHTF.log
Test suite MiscTests: RUNNING...
Cases: 6  Tried: 6  Errors: 0  Failures: 0
[TEST] unitTest
+++ OK (0ms)

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

Total execution time: 0ms
[TEST] unitTest
HUnitFailure (Just (SrcLoc {srcLocPackage = "HTF-0.15.0.1-8MmsBl45AOu726KO5axVKY", srcLocModule = "Test.Framework.TestManager", srcLocFile = "./Test/Framework/TestManager.hs", srcLocStartLine = 506, srcLocStartCol = 22, srcLocEndLine = 506, srcLocEndCol = 45})) (Reason "Fail")
@@@ Error! (0ms)

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

* Errors:
  * unitTest

Total execution time: 0ms
Test suite MiscTests: PASS
Test suite logged to: dist/test/HTF-0.15.0.1-MiscTests.log
Test suite TestThreadPools: RUNNING...
Test suite TestThreadPools: PASS
Test suite logged to: dist/test/HTF-0.15.0.1-TestThreadPools.log
2 of 3 test suites (2 of 3 test cases) passed.

This is not present in 0.15.0.0 as it seems the tests are somehow not discovered:

Running 3 test suites...
Test suite TestHTF: RUNNING...
* Tests:     0
* Passed:    0
* Pending:   0
* Failures:  0
* Errors:    0
* Timed out: 0
* Filtered:  0

Total execution time: 0ms
Test suite TestHTF: PASS
Test suite logged to: dist/test/HTF-0.15.0.0-TestHTF.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions