diff options
author | Zubin Duggal <zubin.duggal@gmail.com> | 2021-08-03 13:50:18 +0530 |
---|---|---|
committer | Zubin Duggal <zubin.duggal@gmail.com> | 2021-10-13 13:51:00 +0530 |
commit | 4536e8ca27e2173af9bc72e2e5992be140ecb2d2 (patch) | |
tree | 5cb1b99d618fca8dbc91277102a48036af9595b2 /hadrian/src/Flavour.hs | |
parent | 58bd0cc1e6dc95328879fc53e9c58b7079d4c292 (diff) | |
download | haskell-4536e8ca27e2173af9bc72e2e5992be140ecb2d2.tar.gz |
hadrian, testsuite: Teach Hadrian to query the testsuite driver for dependencies
Issues #19072, #17728, #20176
Diffstat (limited to 'hadrian/src/Flavour.hs')
-rw-r--r-- | hadrian/src/Flavour.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Flavour.hs b/hadrian/src/Flavour.hs index 3a23fd878f..d555246c4b 100644 --- a/hadrian/src/Flavour.hs +++ b/hadrian/src/Flavour.hs @@ -151,7 +151,7 @@ enableThreadSanitizer = addArgs $ mconcat , builder (Ghc LinkHs) ? arg "-optl-fsanitize=thread" , builder (Cc CompileC) ? (arg "-fsanitize=thread" <> arg "-DTSAN_ENABLED") , builder (Cabal Flags) ? arg "thread-sanitizer" - , builder RunTest ? arg "--config=have_thread_sanitizer=True" + , builder Testsuite ? arg "--config=have_thread_sanitizer=True" ] -- | Use the LLVM backend in stages 1 and later. @@ -338,7 +338,7 @@ builderPredicate = builderSetting <&> (\(wstg, wpkg, builderMode) -> BM_Ghc ghcMode -> wildcard (builder Ghc) (builder . Ghc) ghcMode BM_Cc ccMode -> wildcard (builder Cc) (builder . Cc) ccMode BM_CabalConfigure -> builder (Cabal Setup) - BM_RunTest -> builder RunTest + BM_RunTest -> builder Testsuite ) ) |