[Git][ghc/ghc][wip/js-staging] testsuite: skip failing IO tests for JS

doyougnu (@doyougnu) gitlab at gitlab.haskell.org
Fri Oct 21 12:11:31 UTC 2022



doyougnu pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
da2a4ee1 by doyougnu at 2022-10-21T08:10:07-04:00
testsuite: skip failing IO tests for JS

Specifically:

hClose002
hFileSize002
hSetBuffering003
sum_mod

- - - - -


2 changed files:

- libraries/base/tests/IO/all.T
- testsuite/tests/unboxedsums/module/all.T


Changes:

=====================================
libraries/base/tests/IO/all.T
=====================================
@@ -10,9 +10,9 @@ test('IOError001', [omit_ways(['ghci']), set_stdin('IOError001.hs')],
 test('IOError002',      normal, compile_and_run, [''])
 test('finalization001', normal, compile_and_run, [''])
 test('hClose001', [], compile_and_run, [''])
-test('hClose002', [normalise_win32_io_errors], compile_and_run, [''])
+test('hClose002', [normalise_win32_io_errors, js_skip], compile_and_run, [''])
 test('hFileSize001',    normal, compile_and_run, [''])
-test('hFileSize002', [omit_ways(['ghci'])], compile_and_run, [''])
+test('hFileSize002', [omit_ways(['ghci']), js_skip], compile_and_run, [''])
 test('hFlush001', [], compile_and_run, [''])
 
 test('hGetBuffering001',
@@ -46,7 +46,10 @@ test('hSeek004', [], compile_and_run, ['-cpp'])
 test('hSetBuffering002', set_stdin('hSetBuffering002.hs'), compile_and_run, [''])
 
 test('hSetBuffering003',
-    [omit_ways(['ghci']), set_stdin('hSetBuffering003.hs')],
+    [ omit_ways(['ghci'])
+    , set_stdin('hSetBuffering003.hs')
+    , js_skip
+    ],
 	compile_and_run, [''])
 
 test('hSetBuffering004', set_stdin('hSetBuffering004.hs'), compile_and_run, [''])


=====================================
testsuite/tests/unboxedsums/module/all.T
=====================================
@@ -1,2 +1,2 @@
-test('sum_mod', [normalise_slashes, extra_files(['Lib.hs', 'Main.hs'])],
+test('sum_mod', [normalise_slashes, extra_files(['Lib.hs', 'Main.hs']), js_skip],
      run_command, ['$MAKE -s main --no-print-director'])



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/da2a4ee1dec87cee4329fcae4cddb783cc283f8b
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/20221021/1c30dd9c/attachment-0001.html>


More information about the ghc-commits mailing list