summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-03-31 17:37:24 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-03-31 17:37:24 +0000
commit7d94d19985cbbb4beb1a7b4438b064d3c2c121c0 (patch)
treee6919bd04484f030f30a5b67285bfdd5fcda0699
parent940eb7cf49dc851570c55e0c84c8df5b4d3468a1 (diff)
downloadhaskell-wip/t21285.tar.gz
Apply 1 suggestion(s) to 1 file(s)wip/t21285
-rw-r--r--hadrian/src/Settings/Builders/RunTest.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/hadrian/src/Settings/Builders/RunTest.hs b/hadrian/src/Settings/Builders/RunTest.hs
index 8d94cb233e..2360a2205d 100644
--- a/hadrian/src/Settings/Builders/RunTest.hs
+++ b/hadrian/src/Settings/Builders/RunTest.hs
@@ -167,8 +167,9 @@ assertSameCompilerArgs stg = do
out_args <- outOfTreeCompilerArgs test_ghc
-- The assertion to check we calculated the right thing
when (in_args /= out_args) $ putFailure $ unlines $
- [ "Report this as an issue on the issue tracker, continuing with in-tree args"
- , "in-tree arguments don't match out-of-tree arguments:"
+ [ "Hadrian assertion failure: in-tree arguments don't match out-of-tree arguments."
+ , "Please report this bug on the GHC issue tracker. Continuing with in-tree arguments."
+ -- NB: we always use the in-tree arguments whenever they are available.
, "in-tree arguments:\n" ++ show in_args
, "out-of-tree arguments:\n" ++ show out_args
]