summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2023-02-02 16:01:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-06 09:43:21 -0500
commit6636b670233522f01d002c9b97827d00289dbf5c (patch)
treeccfd2ae729261fdb52e97dec8629a875b58e4512 /testsuite/tests/concurrent
parentb18fbf52f98d0128c52b3a90ddca727a6d5d4d45 (diff)
downloadhaskell-6636b670233522f01d002c9b97827d00289dbf5c.tar.gz
JS: replace "js" architecture with "javascript"
Despite Cabal supporting any architecture name, `cabal --check` only supports a few built-in ones. Sadly `cabal --check` is used by Hackage hence using any non built-in name in a package (e.g. `arch(js)`) is rejected and the package is prevented from being uploaded on Hackage. Luckily built-in support for the `javascript` architecture was added for GHCJS a while ago. In order to allow newer `base` to be uploaded on Hackage we make the switch from `js` to `javascript` architecture. Fixes #22740. Co-authored-by: Ben Gamari <ben@smart-cactus.org>
Diffstat (limited to 'testsuite/tests/concurrent')
-rw-r--r--testsuite/tests/concurrent/should_run/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/concurrent/should_run/all.T b/testsuite/tests/concurrent/should_run/all.T
index 047f70e6d8..7a4208ff67 100644
--- a/testsuite/tests/concurrent/should_run/all.T
+++ b/testsuite/tests/concurrent/should_run/all.T
@@ -130,7 +130,7 @@ test('conc012',
test('conc013', normal, compile_and_run, [''])
test('conc014', normal, compile_and_run, [''])
test('conc015',
- [ when(arch("js"), fragile(22261)) # delays are flaky with the JS backend when the system is overloaded
+ [ when(arch("javascript"), fragile(22261)) # delays are flaky with the JS backend when the system is overloaded
], compile_and_run, [''])
test('conc015a', normal, compile_and_run, [''])
test('conc016', [omit_ways(concurrent_ways) # see comment in conc016.hs