Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
f8e3bee9
by Zubin Duggal at 2026-07-27T17:31:49-04:00
-
1e326770
by Zubin Duggal at 2026-07-27T17:31:50-04:00
-
c0b13cbe
by Zubin Duggal at 2026-07-27T17:31:50-04:00
10 changed files:
- testsuite/driver/testlib.py
- testsuite/tests/driver/all.T
- testsuite/tests/driver/mostly-static/Makefile
- testsuite/tests/ghci/T13786/all.T
- testsuite/tests/ghci/linking/all.T
- testsuite/tests/ghci/linking/dyn/all.T
- testsuite/tests/package/T20010/all.T
- testsuite/tests/plugins/all.T
- testsuite/tests/rts/all.T
- testsuite/tests/rts/linker/all.T
Changes:
| ... | ... | @@ -878,9 +878,11 @@ def _collect_stats(name: TestName, opts, metrics, deviation: Optional[int], |
| 878 | 878 | else:
|
| 879 | 879 | tag = 'runtime'
|
| 880 | 880 | |
| 881 | - # Compiler performance numbers change when debugging is on, making the results
|
|
| 882 | - # useless and confusing. Therefore, skip if debugging is on.
|
|
| 883 | - if config.compiler_debugged and is_compiler_stats_test:
|
|
| 881 | + # Performance numbers change when debugging is on, making the results
|
|
| 882 | + # useless and confusing. This applies to runtime numbers too, since
|
|
| 883 | + # debugged flavours also build the boot libraries without optimisation.
|
|
| 884 | + # Therefore, skip if debugging is on.
|
|
| 885 | + if config.compiler_debugged:
|
|
| 884 | 886 | opts.skip = True
|
| 885 | 887 | |
| 886 | 888 | # If there are any residency testing metrics then turn on RESIDENCY_OPTS
|
| ... | ... | @@ -124,7 +124,7 @@ test('static001', [extra_files(['Static001.hs']), only_darwin], |
| 124 | 124 | makefile_test, ['static001'])
|
| 125 | 125 | |
| 126 | 126 | test('dynHelloWorld',
|
| 127 | - [only_ways(['dyn']), when(opsys('linux') and not ghc_dynamic() and not arch('wasm32'), expect_broken(20706))],
|
|
| 127 | + [only_ways(['dyn']), when(opsys('linux') and not ghc_dynamic() and not arch('wasm32'), fragile(20706))],
|
|
| 128 | 128 | compile_and_run,
|
| 129 | 129 | [''])
|
| 130 | 130 |
| ... | ... | @@ -24,6 +24,6 @@ mostly-static: |
| 24 | 24 | "$(RANLIB)" "test/libtest-1.0.a"
|
| 25 | 25 | "$(GHC_PKG)" init $(LOCAL_PKGCONF)
|
| 26 | 26 | "$(GHC_PKG)" --no-user-package-db -f $(LOCAL_PKGCONF) register test/test.pkg -v0
|
| 27 | - "$(TEST_HC)" $(TEST_HC_OPTS) --make -static-external -exclude-static-external=c,m,rt,dl,pthread,stdc++,atomic,gmp,ffi,iconv,wsock32,gdi32,winmm,dbghelp,psapi,user32,shell32,mingw32,kernel32,advapi32,mingwex,ws2_32,shlwapi,ole32,rpcrt4,ntdll,ucrt -hide-all-packages -package-db $(LOCAL_PKGCONF)/ -package base -package-id test-1.0 Hello.hs
|
|
| 27 | + "$(TEST_HC)" $(TEST_HC_OPTS) --make -static-external -exclude-static-external=c,m,rt,dl,pthread,stdc++,atomic,gmp,ffi,iconv,numa,wsock32,gdi32,winmm,dbghelp,psapi,user32,shell32,mingw32,kernel32,advapi32,mingwex,ws2_32,shlwapi,ole32,rpcrt4,ntdll,ucrt -hide-all-packages -package-db $(LOCAL_PKGCONF)/ -package base -package-id test-1.0 Hello.hs
|
|
| 28 | 28 | ./Hello
|
| 29 | 29 | $(LDD) Hello | grep libtest || true |
| 1 | 1 | test('T13786',
|
| 2 | - [when(unregisterised(), fragile(17018)), req_c, when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 2 | + [when(unregisterised(), fragile(17018)), req_c, when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 3 | 3 | makefile_test, [])
|
| 4 | 4 |
| ... | ... | @@ -33,7 +33,7 @@ test('ghcilink005', |
| 33 | 33 | unless(doing_ghci, skip),
|
| 34 | 34 | req_dynamic_lib_support,
|
| 35 | 35 | req_interp,
|
| 36 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 36 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 37 | 37 | makefile_test, ['ghcilink005'])
|
| 38 | 38 | |
| 39 | 39 | test('ghcilink006',
|
| ... | ... | @@ -3,7 +3,7 @@ setTestOpts(req_dynamic_lib_support) |
| 3 | 3 | test('load_short_name', [ extra_files(['A.c'])
|
| 4 | 4 | , unless(doing_ghci, skip)
|
| 5 | 5 | , req_c
|
| 6 | - , when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))
|
|
| 6 | + , when(opsys('linux') and not ghc_dynamic(), fragile(20706))
|
|
| 7 | 7 | ],
|
| 8 | 8 | makefile_test, ['load_short_name'])
|
| 9 | 9 | |
| ... | ... | @@ -13,7 +13,7 @@ test('T1407', |
| 13 | 13 | pre_cmd('$MAKE -s --no-print-directory compile_libT1407'),
|
| 14 | 14 | extra_hc_opts('-L"$PWD/T1407dir"'),
|
| 15 | 15 | js_broken(22359),
|
| 16 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 16 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 17 | 17 | makefile_test, [])
|
| 18 | 18 | |
| 19 | 19 | test('T3242',
|
| 1 | 1 | # Test that GHC links to the C++ standard library as expected
|
| 2 | 2 | # when the system-cxx-std-lib package is used.
|
| 3 | 3 | test('T20010', req_c, makefile_test, [])
|
| 4 | -test('T20010-ghci', [req_c, extra_files(['T20010_c.cpp', 'T20010.hs']), when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))], makefile_test, []) |
|
| 4 | +test('T20010-ghci', [req_c, extra_files(['T20010_c.cpp', 'T20010.hs']), when(opsys('linux') and not ghc_dynamic(), fragile(20706))], makefile_test, []) |
| ... | ... | @@ -131,7 +131,7 @@ test('T10294a', |
| 131 | 131 | pre_cmd('$MAKE -s --no-print-directory -C annotation-plugin package.T10294a TOP={top}')],
|
| 132 | 132 | makefile_test, [])
|
| 133 | 133 | |
| 134 | -test('frontend01', [extra_files(['FrontendPlugin.hs']), when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 134 | +test('frontend01', [extra_files(['FrontendPlugin.hs']), when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 135 | 135 | makefile_test, [])
|
| 136 | 136 | |
| 137 | 137 | test('T11244',
|
| ... | ... | @@ -368,14 +368,14 @@ test('test-echo-in-line-many-args', |
| 368 | 368 | test('plugins-external',
|
| 369 | 369 | [extra_files(['shared-plugin/']),
|
| 370 | 370 | pre_cmd('$MAKE -s --no-print-directory -C shared-plugin package.plugins01 TOP={top}'),
|
| 371 | - when(opsys('mingw32') or (opsys('linux') and not ghc_dynamic()), expect_broken(20706))],
|
|
| 371 | + when(opsys('mingw32') or (opsys('linux') and not ghc_dynamic()), fragile(20706))],
|
|
| 372 | 372 | makefile_test, [])
|
| 373 | 373 | |
| 374 | 374 | test('test-phase-hooks-plugin',
|
| 375 | 375 | [extra_files(['hooks-plugin/']),
|
| 376 | 376 | pre_cmd('$MAKE -s --no-print-directory -C hooks-plugin package.test-phase-hooks-plugin TOP={top}'),
|
| 377 | 377 | |
| 378 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 378 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 379 | 379 | compile,
|
| 380 | 380 | ['-package-db hooks-plugin/pkg.test-phase-hooks-plugin/local.package.conf -fplugin Hooks.PhasePlugin -package hooks-plugin ' + config.plugin_way_flags])
|
| 381 | 381 |
| ... | ... | @@ -524,7 +524,7 @@ test('test-zeroongc', extra_run_opts('-DZ'), compile_and_run, ['-debug']) |
| 524 | 524 | test('T13676',
|
| 525 | 525 | [when(opsys('mingw32'), expect_broken(17447)),
|
| 526 | 526 | extra_files(['T13676.hs']),
|
| 527 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 527 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 528 | 528 | ghci_script, ['T13676.script'])
|
| 529 | 529 | test('InitEventLogging',
|
| 530 | 530 | [ only_ways(['normal'])
|
| ... | ... | @@ -74,7 +74,7 @@ test('T5435_v_asm_a', |
| 74 | 74 | req_rts_linker,
|
| 75 | 75 | fragile(22970),
|
| 76 | 76 | when(arch('arm'), expect_broken(17559)),
|
| 77 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 77 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 78 | 78 | makefile_test, ['T5435_v_asm_a'])
|
| 79 | 79 | # this one just needs to run on linux, as darwin/mingw32 are covered
|
| 80 | 80 | # by the _a test already.
|
| ... | ... | @@ -84,14 +84,14 @@ test('T5435_v_asm_b', |
| 84 | 84 | fragile(22970),
|
| 85 | 85 | when(arch('arm'), expect_broken(17559)),
|
| 86 | 86 | when(opsys('darwin') or opsys('mingw32'), skip),
|
| 87 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 87 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 88 | 88 | makefile_test, ['T5435_v_asm_b'])
|
| 89 | 89 | test('T5435_v_gcc',
|
| 90 | 90 | [extra_files(['T5435.hs', 'T5435_gcc.c']),
|
| 91 | 91 | req_rts_linker,
|
| 92 | 92 | fragile(22970),
|
| 93 | 93 | when(arch('arm'), expect_broken(17559)),
|
| 94 | - when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 94 | + when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 95 | 95 | makefile_test, ['T5435_v_gcc'])
|
| 96 | 96 | test('T5435_dyn_asm',
|
| 97 | 97 | [extra_files(['T5435.hs', 'T5435_asm.c']),
|
| ... | ... | @@ -152,7 +152,7 @@ test('T7072', |
| 152 | 152 | req_rts_linker],
|
| 153 | 153 | makefile_test, ['T7072'])
|
| 154 | 154 | |
| 155 | -test('T20494', [req_rts_linker, when(opsys('linux') and not ghc_dynamic(), expect_broken(20706))],
|
|
| 155 | +test('T20494', [req_rts_linker, when(opsys('linux') and not ghc_dynamic(), fragile(20706))],
|
|
| 156 | 156 | makefile_test, ['T20494'])
|
| 157 | 157 | |
| 158 | 158 | test('T20918',
|