[commit: ghc] master: testsuite: remove unused scc001 target (b4e6483)

git at git.haskell.org git at git.haskell.org
Sun Jul 1 11:35:59 UTC 2018


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

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

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

commit b4e64839a95d024252950f07e3da50c3d4087882
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Sun Jul 1 14:31:27 2018 +0300

    testsuite: remove unused scc001 target


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

b4e64839a95d024252950f07e3da50c3d4087882
 testsuite/tests/profiling/should_run/Makefile | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/testsuite/tests/profiling/should_run/Makefile b/testsuite/tests/profiling/should_run/Makefile
index 33d8d9a..d52bda1 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



More information about the ghc-commits mailing list