Skip to content

Instantly share code, notes, and snippets.

@hsyl20
Last active April 30, 2020 15:02
Show Gist options
  • Save hsyl20/14bf0e46c8a2166bccfe68606680b1ee to your computer and use it in GitHub Desktop.
Save hsyl20/14bf0e46c8a2166bccfe68606680b1ee to your computer and use it in GitHub Desktop.
Duplicated output
> ./hadrian/build-stack -c -j --flavour=quick test --only=package08e
[...]
--- "/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run/package08e.stderr.normalised" 2020-04-30 17:00:20.518628015 +0200
+++ "/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run/package08e.comp.stderr.normalised" 2020-04-30 17:00:20.518628015 +0200
@@ -3,6 +3,7 @@
Could not find module ‘GHC.Hs.MyTypes’
Perhaps you meant
GHC.Hs.Types (needs flag -package-key ghc-<VERSION>)
+ GHC.Hs.Types (needs flag -package-key ghc-<VERSION>)
GHC.Tc.Types (needs flag -package-key ghc-<VERSION>)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
@@ -11,6 +12,9 @@
It is a member of the hidden package ‘ghc-<VERSION>’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
+ It is a member of the hidden package ‘ghc-<VERSION>’.
+ You can run ‘:set -package ghc’ to expose it.
+ (Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package08e.hs:4:1:
@@ -18,6 +22,9 @@
It is a member of the hidden package ‘ghc-<VERSION>’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
+ It is a member of the hidden package ‘ghc-<VERSION>’.
+ You can run ‘:set -package ghc’ to expose it.
+ (Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
package08e.hs:5:1:
@@ -25,4 +32,7 @@
It is a member of the hidden package ‘ghc-<VERSION>’.
You can run ‘:set -package ghc’ to expose it.
(Note: this unloads all the modules in the current scope.)
+ It is a member of the hidden package ‘ghc-<VERSION>’.
+ You can run ‘:set -package ghc’ to expose it.
+ (Note: this unloads all the modules in the current scope.)
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
====> Scanning libraries/base/tests/Numeric/all.T
====> Scanning libraries/base/tests/System/all.T
====> Scanning libraries/base/tests/Text.Printf/all.T
====> Scanning libraries/ghc-compact/tests/all.T
====> Scanning libraries/process/tests/all.T
====> Scanning libraries/process/tests/T9775/all.T
====> Scanning libraries/stm/tests/all.T
====> Scanning libraries/unix/tests/all.T
====> Scanning libraries/unix/tests/libposix/all.T
=====> package08e(normal) 1 of 1 [0, 0, 0]
cd "/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run" && "/home/hsyl20/projects/ghc/dynflags/_build/stage1/bin/ghc" -c package08e.hs -dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output -package "ghc (GHC.Hs.Types as GHC.Hs.MyTypes, GHC.Hs.Utils)" -hide-package ghc <
Actual stderr output differs from expected:
diff -uw "/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run/package08e.stderr.normalised" "/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run/package08e.comp.stderr.normalised"<
*** unexpected failure for package08e(normal)
Performance Metrics (test environment: local):
None collected.
Unexpected results from:
TEST="package08e"
SUMMARY for test run started at Thu Apr 30 17:00:20 2020
0:00:00.312585 spent to go through
1 total tests, which gave rise to
1 test cases, of which
0 were skipped
0 had missing libraries
0 expected passes
0 expected failures
0 caused framework failures
0 caused framework warnings
0 unexpected passes
1 unexpected failures
0 unexpected stat failures
0 fragile tests
Unexpected failures:
/tmp/ghctest-2jazcfzv/test spaces/testsuite/tests/package/package08e.run package08e [stderr mismatch] (normal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment