[commit: ghc] master: testsuite: disable T14075 on non-smp targets (ed1615d)

git at git.haskell.org git at git.haskell.org
Sun Oct 7 10:28:37 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ed1615dc2537a5321a8cf5b0372fcb44e196dd3d/ghc

>---------------------------------------------------------------

commit ed1615dc2537a5321a8cf5b0372fcb44e196dd3d
Author: Sergei Trofimovich <slyfox at gentoo.org>
Date:   Sun Oct 7 09:23:07 2018 +0100

    testsuite: disable T14075 on non-smp targets
    
    "ghc: setNumCapabilities: not supported on this platform"
    is caused by use of 'ghc --make -j2' in build rule.
    
    Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>


>---------------------------------------------------------------

ed1615dc2537a5321a8cf5b0372fcb44e196dd3d
 testsuite/tests/driver/T14075/all.T | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/driver/T14075/all.T b/testsuite/tests/driver/T14075/all.T
index 646976a..4f6371a 100644
--- a/testsuite/tests/driver/T14075/all.T
+++ b/testsuite/tests/driver/T14075/all.T
@@ -1,4 +1,6 @@
 test('T14075',
-     [extra_files(['F.hs', 'F.hs-boot', 'O.hs', 'V.hs', 'V.hs-boot'])],
+     [ extra_files(['F.hs', 'F.hs-boot', 'O.hs', 'V.hs', 'V.hs-boot'])
+     , req_smp, # uses ghc --make -j2
+     ],
      run_command,
      ['$MAKE -s --no-print-directory T14075'])



More information about the ghc-commits mailing list