summaryrefslogtreecommitdiff
path: root/testsuite/tests/hpc
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-03-18 20:33:44 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-01 11:03:16 +0100
commit8334ff9e5de48361e8fde3fdacb4523857c366b7 (patch)
treece44d60b6bff743b1f243977b1c19a976e3d8174 /testsuite/tests/hpc
parent5df9f5e732a1086c66ad391e581f55b9d3e3712c (diff)
downloadhaskell-8334ff9e5de48361e8fde3fdacb4523857c366b7.tar.gz
Minor cleanup
- Remove unused functions exprToCoercion_maybe, applyTypeToArg, typeMonoPrimRep_maybe, runtimeRepMonoPrimRep_maybe. - Replace orValid with a simpler check - Use splitAtList in applyTysX - Remove calls to extra_clean in the testsuite; it does not do anything. Metric Decrease: T18223
Diffstat (limited to 'testsuite/tests/hpc')
-rw-r--r--testsuite/tests/hpc/all.T3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/tests/hpc/all.T b/testsuite/tests/hpc/all.T
index 6744daa92f..2e2e7710a9 100644
--- a/testsuite/tests/hpc/all.T
+++ b/testsuite/tests/hpc/all.T
@@ -17,8 +17,7 @@ def T2991(cmd):
# The .mix file for the literate module should have non-zero entries.
# The `grep` should exit with exit code 0.
return(cmd + " && grep -q cover_me .hpc/T2991LiterateModule.mix")
-test('T2991', [cmd_wrapper(T2991), extra_clean(['T2991LiterateModule.hi',
- 'T2991LiterateModule.o'])],
+test('T2991', [cmd_wrapper(T2991)],
# Run with 'ghc --main'. Do not list other modules explicitly.
multimod_compile_and_run, ['T2991', ''])