summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/profiling/should_run/Makefile6
-rw-r--r--testsuite/tests/profiling/should_run/T7275.stdout32
2 files changed, 19 insertions, 19 deletions
diff --git a/testsuite/tests/profiling/should_run/Makefile b/testsuite/tests/profiling/should_run/Makefile
index 0f3c155d67..4db4e193a5 100644
--- a/testsuite/tests/profiling/should_run/Makefile
+++ b/testsuite/tests/profiling/should_run/Makefile
@@ -9,9 +9,9 @@ T7275:
"$(TEST_HC)" -prof -v0 -rtsopts T7275.hs
./T7275 +RTS -hc -i0
# Suzanne should appear here, despite having produced only pinned
- # allocations. Strip off the actual amounts since they will be
- # non-determinstic.
- grep suzanne T7275.hp | cut -f1 -d' '
+ # allocations. Strip off the actual amounts and cost-center numbers since
+ # they will be non-determinstic.
+ grep suzanne T7275.hp | cut -f1 -d' ' | sed -e 's/([0-9]\+)//'
.PHONY: T11489
T11489:
diff --git a/testsuite/tests/profiling/should_run/T7275.stdout b/testsuite/tests/profiling/should_run/T7275.stdout
index 4dbeabc5c6..eaaa71bc27 100644
--- a/testsuite/tests/profiling/should_run/T7275.stdout
+++ b/testsuite/tests/profiling/should_run/T7275.stdout
@@ -3,19 +3,19 @@
2
3
4
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
-(286)suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert
+suzanne/robert