Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite failure #2

Open
snoyberg opened this issue Dec 27, 2017 · 3 comments
Open

Test suite failure #2

snoyberg opened this issue Dec 27, 2017 · 3 comments

Comments

@snoyberg
Copy link

[1 of 1] Compiling Main             ( test/Main.hs, dist/build/test/test-tmp/Main.o )
Linking dist/build/test/test ...
> /tmp/stackage-build12/tasty-tap-0.0.4$ dist/build/test/test
Test.Tasty.Runners.TAP
  simple.tap: FAIL (0.01s)
    --- test/golden/simple.tap  2017-01-11 04:35:17.000000000 +0000
    +++ /tmp/simple.tap 2017-12-27 06:53:41.979375295 +0000
    @@ -2,4 +2,5 @@
     1..2
     ok 1 - some example tests/passes
     not ok 2 - some example tests/fails
    +# test/Main.hs:56:
     # this was doomed

1 out of 1 tests failed (0.01s)
snoyberg added a commit to commercialhaskell/stackage that referenced this issue Dec 27, 2017
@snoyberg
Copy link
Author

Test failure also occurs with tasty-fail-fast, I'm guessing this might be related:

Linking dist/build/test/test ...
> /tmp/stackage-build12/tasty-fail-fast-0.0.3$ dist/build/test/test
tasty-fail-fast
  simple.tap: FAIL (0.03s)
    --- test/golden/simple.tap  2017-11-09 02:03:34.000000000 +0000
    +++ /tmp/simple.tap 2017-12-27 06:48:58.325552784 +0000
    @@ -2,6 +2,7 @@
     1..5
     ok 1 - some example tests/trivial pass
     not ok 2 - some example tests/first failure
    +# test/Main.hs:66:
     # expected: False
     #  but got: True
     not ok 3 - some example tests/another pass

1 out of 1 tests failed (0.03s)

@MichaelXavier
Copy link
Owner

Welp, I'm at kind of at a loss. I just ran tests against lts-10.3 a few dozen times which uses tasty-fail-fast-0.0.3 and they passed.

snoyberg added a commit to commercialhaskell/stackage that referenced this issue Jan 25, 2018
@snoyberg
Copy link
Author

I'm able to reproduce using nightly-2018-01-25.

sevanspowell added a commit to sevanspowell/nixpkgs that referenced this issue Oct 12, 2019
- The golden test for tasty-tap is out-of-date with the current TAP
  format. An issue has been submitted upstream here:
  MichaelXavier/tasty-tap#2.
- I've created a pull request that makes the (minor) changes to the
  golden test file and applied the patch for that pull request here.
sevanspowell added a commit to sevanspowell/nixpkgs that referenced this issue Oct 13, 2019
- The golden test for tasty-tap is out-of-date with the current TAP
  format. An issue has been submitted upstream here:
  MichaelXavier/tasty-tap#2.
- I've created a pull request that makes the (minor) changes to the
  golden test file and applied the patch for that pull request here.
- Remove tasty-tap from broken-packages
peti pushed a commit to NixOS/nixpkgs that referenced this issue Oct 18, 2019
- The golden test for tasty-tap is out-of-date with the current TAP
  format. An issue has been submitted upstream here:
  MichaelXavier/tasty-tap#2.
- I've created a pull request that makes the (minor) changes to the
  golden test file and applied the patch for that pull request here.
- Remove tasty-tap from broken-packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants