[commit: ghc] master: regalloc_unit_tests: disable on UNREG targets (d327ebd)

git at git.haskell.org git at git.haskell.org
Sun Dec 18 17:35:05 UTC 2016


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

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

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

commit d327ebd61d844897d6f189b7799373fa16b3bc71
Author: Sergei Trofimovich <siarheit at google.com>
Date:   Sun Dec 18 17:24:13 2016 +0000

    regalloc_unit_tests: disable on UNREG targets
    
    Test requires register allocator to be present
    (native code generator).
    
    Signed-off-by: Sergei Trofimovich <siarheit at google.com>


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

d327ebd61d844897d6f189b7799373fa16b3bc71
 testsuite/tests/regalloc/all.T | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/regalloc/all.T b/testsuite/tests/regalloc/all.T
index c0c01ff..99eeb1c 100644
--- a/testsuite/tests/regalloc/all.T
+++ b/testsuite/tests/regalloc/all.T
@@ -1,4 +1,5 @@
 test('regalloc_unit_tests',
-     [ extra_files(['no_spills.cmm']), [ignore_stderr, only_ways(['normal'])], extra_run_opts('"' + config.libdir + '"') ],
+     [ when(unregisterised(), skip), extra_files(['no_spills.cmm']),
+       [ignore_stderr, only_ways(['normal'])], extra_run_opts('"' + config.libdir + '"') ],
      compile_and_run,
      ['-package ghc'])



More information about the ghc-commits mailing list