diff --git a/ghc/tests/mk/should_run.mk b/ghc/tests/mk/should_run.mk
index eab6786c7a7a52eb95ee710de40d2df495018591..e9c3543bd8cee11b38a552aa7249fde547f4c15c 100644
--- a/ghc/tests/mk/should_run.mk
+++ b/ghc/tests/mk/should_run.mk
@@ -3,7 +3,7 @@
 
 HS_SRCS = $(wildcard *.hs)
 BINS = $(patsubst %.o,%.bin,$(HS_OBJS))
-RUNTESTS = $(patsubst %.bin,%.run,$(BINS))
+RUNTESTS = $(filter-out $(OMITTED_RUNTESTS), $(patsubst %.bin,%.run,$(BINS)))
 
 SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0