Magnus pushed to branch wip/mangoiv/ci-stages at Glasgow Haskell Compiler / GHC Commits: f3b5ca14 by mangoiv at 2026-08-17T12:29:32+02:00 testsuite: flush more often when running testsuite - - - - - b44db2b0 by mangoiv at 2026-08-17T14:01:48+02:00 Allow metric decreases on windows Metric Decrease: LinkableUsage01 MultiLayerModulesTH_OneShot T10547 T12234 T12425 T13035 T13253-spj T13820 T18140 T18730 T18923 T9198 TcPlugin_RewritePerf mhu-perf - - - - - 1 changed file: - testsuite/driver/runtests.py Changes: ===================================== testsuite/driver/runtests.py ===================================== @@ -353,6 +353,7 @@ except Exception as e: print('Failed to detect CPU features: ', e) sys.stdout.flush() +sys.stderr.flush() if config.local: tempdir = '' @@ -479,6 +480,9 @@ for name in config.only: # .T file errors. pass +sys.stdout.flush() +sys.stderr.flush() + if config.list_broken: print('') print('Broken tests:') @@ -506,12 +510,17 @@ else: # wait for parallel tests to finish asyncio.run(run_parallelTests()) + sys.stdout.flush() + sys.stderr.flush() + # Run the following tests purely sequential async def run_aloneTests(): for oneTest in aloneTests: if stopping(): break await oneTest(None) + sys.stdout.flush() + sys.stderr.flush() asyncio.run(run_aloneTests()) @@ -520,6 +529,7 @@ else: # flush everything before we continue sys.stdout.flush() + sys.stderr.flush() # Dump metrics data. print("\nPerformance Metrics (test environment: {}):\n".format(config.test_env)) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/03e3bc4ecb964373785da11442c1c9c... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/03e3bc4ecb964373785da11442c1c9c... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Magnus (@MangoIV)