summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2020-03-30 08:56:13 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-22 23:12:27 -0400
commit34a45ee600d5346f5d1728047fa185698ed7ee84 (patch)
tree29803cc3029daa51d6debcf0a8b8342269d75577 /testsuite
parent48b8951e819e5d7d06ad7e168323de320d87bbd6 (diff)
downloadhaskell-34a45ee600d5346f5d1728047fa185698ed7ee84.tar.gz
PPC NCG: Add DWARF constants and debug labels
Fixes #11261
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/codeGen/should_compile/all.T11
-rw-r--r--testsuite/tests/driver/T17586/all.T4
-rw-r--r--testsuite/tests/rts/all.T3
-rw-r--r--testsuite/tests/simplCore/should_compile/all.T20
-rw-r--r--testsuite/tests/simplCore/should_run/all.T6
5 files changed, 12 insertions, 32 deletions
diff --git a/testsuite/tests/codeGen/should_compile/all.T b/testsuite/tests/codeGen/should_compile/all.T
index cffe3d9769..ce76ed388a 100644
--- a/testsuite/tests/codeGen/should_compile/all.T
+++ b/testsuite/tests/codeGen/should_compile/all.T
@@ -25,19 +25,14 @@ test('T9155', normal, compile, ['-O2'])
test('T9303', normal, compile, ['-O2'])
test('T9329', [when(unregisterised(), expect_broken(15467)), cmm_src], compile, [''])
-test('debug',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
- makefile_test, [])
+test('debug', normal, makefile_test, [])
test('T9964', normal, compile, ['-O'])
test('T10518', [cmm_src], compile, [''])
-test('T10667', [ when((arch('powerpc64') or arch('powerpc64le')),
- expect_broken(11261))],
- compile, ['-g'])
+test('T10667', normal, compile, ['-g'])
test('T12115', normal, compile, [''])
test('T12355', normal, compile, [''])
test('T14999',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261)),
- when(unregisterised(), skip),
+ [when(unregisterised(), skip),
unless(opsys('linux') and arch('x86_64') and have_gdb() and
have_readelf(), skip)],
makefile_test, [])
diff --git a/testsuite/tests/driver/T17586/all.T b/testsuite/tests/driver/T17586/all.T
index 3912ef34db..2ec89b4d03 100644
--- a/testsuite/tests/driver/T17586/all.T
+++ b/testsuite/tests/driver/T17586/all.T
@@ -1,3 +1 @@
-test('T17586',
- [when(arch('powerpc64') or arch('powerpc64le'), expect_broken(11261))],
- makefile_test, [])
+test('T17586', normal, makefile_test, [])
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index ca0e652a48..61e525b938 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -385,10 +385,10 @@ test('keep-cafs-fail',
[ extra_files(['KeepCafsBase.hs', 'KeepCafs1.hs',
'KeepCafs2.hs', 'KeepCafsMain.hs']),
when(opsys('mingw32'), expect_broken (5987)),
- when(platform('powerpc64le-unknown-linux'), expect_broken(11261)),
when(opsys('freebsd'), expect_broken(16035)),
filter_stdout_lines('Evaluated a CAF|exit.*'),
ignore_stderr, # on OS X the shell emits an "Abort trap" message to stderr
+ req_rts_linker,
],
makefile_test, ['KeepCafsFail'])
@@ -397,7 +397,6 @@ test('keep-cafs',
[ extra_files(['KeepCafsBase.hs', 'KeepCafs1.hs',
'KeepCafs2.hs', 'KeepCafsMain.hs']),
when(opsys('mingw32'), expect_broken (5987)),
- when(platform('powerpc64le-unknown-linux'), expect_broken(11261)),
when(opsys('freebsd'), expect_broken(16035)),
req_rts_linker
],
diff --git a/testsuite/tests/simplCore/should_compile/all.T b/testsuite/tests/simplCore/should_compile/all.T
index 396111fb4b..875e0b5b66 100644
--- a/testsuite/tests/simplCore/should_compile/all.T
+++ b/testsuite/tests/simplCore/should_compile/all.T
@@ -244,21 +244,11 @@ test('T13468',
normal,
makefile_test, ['T13468'])
test('T13543', only_ways(['optasm']), compile, ['-ddump-str-signatures -ddump-cpr-signatures'])
-test('T11272',
- normal,
- makefile_test, ['T11272'])
-test('T12600',
- normal,
- makefile_test, ['T12600'])
-test('T13658',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
- compile, ['-dcore-lint'])
-test('T14779a',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
- compile, ['-dcore-lint'])
-test('T14779b',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
- compile, ['-dcore-lint'])
+test('T11272', normal, makefile_test, ['T11272'])
+test('T12600', normal, makefile_test, ['T12600'])
+test('T13658', normal, compile, ['-dcore-lint'])
+test('T14779a', normal, compile, ['-dcore-lint'])
+test('T14779b', normal, compile, ['-dcore-lint'])
test('T13708', normal, compile, [''])
# thunk should inline here, so check whether or not it appears in the Core
diff --git a/testsuite/tests/simplCore/should_run/all.T b/testsuite/tests/simplCore/should_run/all.T
index 210949d9c6..d730632345 100644
--- a/testsuite/tests/simplCore/should_run/all.T
+++ b/testsuite/tests/simplCore/should_run/all.T
@@ -81,10 +81,8 @@ test('T13429_2', normal, compile_and_run, [''])
test('T13750', normal, compile_and_run, [''])
test('T14178', normal, compile_and_run, [''])
test('T14768', reqlib('vector'), compile_and_run, [''])
-test('T14868',
- [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))],
- compile_and_run, [''])
-test('T14894', [when((arch('powerpc64') or arch('powerpc64le')), expect_broken(11261))], compile_and_run, [''])
+test('T14868', normal, compile_and_run, [''])
+test('T14894', normal, compile_and_run, [''])
test('T14965', normal, compile_and_run, [''])
test('T15114', only_ways(['optasm']), compile_and_run, [''])
test('T15436', normal, compile_and_run, [''])