You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cabal test used to redirect stdout to the log file, but no longer does this?
To Reproduce
$ cabal unpack ersatz-0.5
$ cd ersatz-0.5
$ cabal test hunit
Expected behavior
with cabal-install version 3.10.2.1 , output is
...
Running 1 test suites...
Test suite hunit: RUNNING...
Test suite hunit: PASS
Test suite logged to:
/home/waldmann/tmp/ersatz-0.5/dist-newstyle/build/x86_64-linux/ghc-9.8.2/ersatz-0.5/t/hunit/test/ersatz-0.5-hunit.log
1 of 1 test suites (1 of 1 test cases) passed.
and the log file contains actual test output.
Observed behaviour
with cabal-install version 3.11.0.0, output is
...
Running 1 test suites...
Test suite hunit: RUNNING...
unit tests:
unconstrained literals: [OK]
Test Cases Total
Passed 1 1
Failed 0 0
Total 1 1
Test suite hunit: PASS
Test suite logged to:
/home/waldmann/tmp/ersatz-0.5/dist-newstyle/build/x86_64-linux/ghc-9.8.2/ersatz-0.5/t/hunit/test/ersatz-0.5-hunit.log
1 of 1 test suites (1 of 1 test cases) passed.
and the mentioned log file contains only
Test suite hunit: RUNNING...
Test suite hunit: PASS
Test suite logged to: /home/waldmann/tmp/ersatz-0.5/dist-newstyle/build/x86_64-linux/ghc-9.8.2/ersatz-0.5/t/hunit/test/ersatz-0.5-hunit.log
and NOT the actual test output.
System information
Fedora GNU/Linux 6.7.6-200.fc39.x86_64, ghc-9.8.2, cabal-install built from source at
Describe the bug
cabal test
used to redirect stdout to the log file, but no longer does this?To Reproduce
Expected behavior
with
cabal-install version 3.10.2.1
, output isand the log file contains actual test output.
Observed behaviour
with
cabal-install version 3.11.0.0
, output isand the mentioned log file contains only
and NOT the actual test output.
System information
Fedora GNU/Linux 6.7.6-200.fc39.x86_64, ghc-9.8.2, cabal-install built from source at
The text was updated successfully, but these errors were encountered: