summaryrefslogtreecommitdiff
path: root/tests/tstunits
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2017-04-24 21:16:51 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2017-04-24 21:16:51 +0000
commit7d4cd36de2531c4793fea05d948e2bb81eef8ce2 (patch)
treec44a2e4d019aeafe23e25c9ab21f0e4e2d2666f1 /tests/tstunits
parent21d2fef56d6c604892238a829bff1521d13bfd97 (diff)
downloadfpc-7d4cd36de2531c4793fea05d948e2bb81eef8ce2.tar.gz
Makefiel regenerated after commit 35943: Add testppudump rule in tests/tstunits directory
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@35944 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/tstunits')
-rw-r--r--tests/tstunits/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/tstunits/Makefile b/tests/tstunits/Makefile
index 7c5774485b..26e8266253 100644
--- a/tests/tstunits/Makefile
+++ b/tests/tstunits/Makefile
@@ -1977,6 +1977,26 @@ ctest:
@exit 1
endif
extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT)
+PPULIST:=$(wildcard */*.ppu) $(wildcard units/*/*.ppu)
+PPULOGLIST:=$(subst .ppu,.log-ppu,$(PPULIST))
+RMPPULOGLIST:=$(subst .ppu,.rm-log-ppu,$(PPULIST))
+.PHONY : ppulogs cleanppulogs testppudump $(RMPPULOGLIST)
+ppulogs : $(PPULOGLIST)
+vpath %.ppu $(ALLPPUDIRS)
+vpath %.log-ppu $(ALLPPUDIRS)
+vpath %.rm-log-ppu $(ALLPPUDIRS)
+%.log-ppu : %.ppu ../../compiler/utils/ppudump$(EXEEXT)
+ ..$(PATHSEP)..$(PATHSEP)compiler$(PATHSEP)utils$(PATHSEP)ppudump -VA -M $< > $@
+%.rm-log-ppu : %.ppu ../../compiler/utils/ppudump$(EXEEXT)
+ -$(RMPROG) $<
+../../compiler/utils/ppudump$(EXEEXT):
+ $(MAKE) -C $(COMPILERDIR)/utils ppudump$(EXEEXT)
+ppuinfo :
+ echo PPU list is "$(PPULIST)"
+ echo PPULOG list is "$(PPULOGLIST)"
+cleanppulogs : $(RMPPULOGLIST)
+testppudump :
+ $(MAKE) cleanppulogs ppulogs
ifdef QUICKTEST
all : rtl fpcunit extra
else