diff options
-rw-r--r-- | testsuite/tests/profiling/should_run/Makefile | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/testsuite/tests/profiling/should_run/Makefile b/testsuite/tests/profiling/should_run/Makefile index 33d8d9a51d..d52bda1918 100644 --- a/testsuite/tests/profiling/should_run/Makefile +++ b/testsuite/tests/profiling/should_run/Makefile @@ -4,25 +4,6 @@ include $(TOP)/mk/test.mk DECIMAL_REGEXP = [0-9]\+.[0-9]\+ -define scc001Test - grep -q '^ *$1 \+Main \+[0-9]\+ \+1 \+$(DECIMAL_REGEXP) \+$(DECIMAL_REGEXP) \+$(DECIMAL_REGEXP) \+$(DECIMAL_REGEXP)$$' scc001.prof || { echo 'No single-entry for $1 found in profile'; grep '^ *$1 ' scc001.prof; true; } -endef - -define scc001Rule - rm -f scc001.hi scc001.o scc001 - @echo Compiling with $1 - '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make scc001 -prof -fprof-auto -rtsopts $1 - ./scc001 +RTS -p - $(call scc001Test,f) - $(call scc001Test,g) - $(call scc001Test,h) -endef - -.PHONY: scc001 -scc001: - $(call scc001Rule,-O0) - $(call scc001Rule,-O) - .PHONY: T11489 T11489: $(RM) T11489 |