[Git][ghc/ghc][wip/backports-9.8-2] testsuite: Fix T22012 on Centos 7

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Tue Sep 19 05:18:16 UTC 2023



Ben Gamari pushed to branch wip/backports-9.8-2 at Glasgow Haskell Compiler / GHC


Commits:
51bc1ac1 by Ben Gamari at 2023-09-19T01:17:42-04:00
testsuite: Fix T22012 on Centos 7

The Centos toolchain needs `-std=c11`.

- - - - -


1 changed file:

- testsuite/tests/rts/all.T


Changes:

=====================================
testsuite/tests/rts/all.T
=====================================
@@ -582,7 +582,7 @@ test('decodeMyStack_emptyListForMissingFlag',
   , js_broken(22261) # cloneMyStack# not yet implemented
   ], compile_and_run, [''])
 
-test('T22012', [js_skip, extra_ways(['ghci'])], compile_and_run, ['T22012_c.c'])
+test('T22012', [js_skip, extra_ways(['ghci']), extra_hc_opts('-optc-std=c11')], compile_and_run, ['T22012_c.c'])
 
 # Skip for JS platform as the JS RTS is always single threaded
 test('T22795a', [only_ways(['normal']), js_skip, req_ghc_with_threaded_rts], compile_and_run, ['-threaded'])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/51bc1ac1f30d9b446c2df0c7f260568731421293

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/51bc1ac1f30d9b446c2df0c7f260568731421293
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230919/51d54431/attachment.html>


More information about the ghc-commits mailing list