cleanup writerfilter lcl_ParseFormat
[LibreOffice.git] / idlc / CustomTarget_parser_test.mk
blobf8c7632bde67ed8dcbb9ce0414a5efb67aef4d66
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CustomTarget_CustomTarget,idlc/parser_test))
12 # this target is phony to run it every time
13 .PHONY : $(call gb_CustomTarget_get_target,idlc/parser_test)
15 $(call gb_CustomTarget_get_target,idlc/parser_test) : \
16 $(call gb_Executable_get_runtime_dependencies,idlc) \
17 $(SRCDIR)/solenv/bin/exectest.pl \
18 $(SRCDIR)/idlc/test/parser/attribute.tests \
19 $(SRCDIR)/idlc/test/parser/constant.tests \
20 $(SRCDIR)/idlc/test/parser/constructor.tests \
21 $(SRCDIR)/idlc/test/parser/conversion.tests \
22 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
23 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
24 $(SRCDIR)/idlc/test/parser/polystruct.tests \
25 $(SRCDIR)/idlc/test/parser/published.tests \
26 $(SRCDIR)/idlc/test/parser/struct.tests \
27 $(SRCDIR)/idlc/test/parser/typedef.tests \
28 | $(call gb_CustomTarget_get_workdir,idlc/parser_test)/.dir
29 ifneq ($(gb_SUPPRESS_TESTS),)
30 @true
31 else
32 $(call gb_Helper_abbreviate_dirs,( \
33 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
34 $(SRCDIR)/idlc/test/parser/attribute.tests \
35 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
36 $(call gb_Executable_get_command,idlc) \
37 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
38 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
39 $(SRCDIR)/idlc/test/parser/constant.tests \
40 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
41 $(call gb_Executable_get_command,idlc) \
42 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
43 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
44 $(SRCDIR)/idlc/test/parser/constructor.tests \
45 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
46 $(call gb_Executable_get_command,idlc) \
47 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
48 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
49 $(SRCDIR)/idlc/test/parser/conversion.tests \
50 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
51 $(call gb_Executable_get_command,idlc) \
52 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
53 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
54 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
55 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
56 $(call gb_Executable_get_command,idlc) \
57 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
58 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
59 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
60 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
61 $(call gb_Executable_get_command,idlc) \
62 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
63 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
64 $(SRCDIR)/idlc/test/parser/oldstyle.tests \
65 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
66 $(call gb_Executable_get_command,idlc) \
67 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
68 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
69 $(SRCDIR)/idlc/test/parser/polystruct.tests \
70 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
71 $(call gb_Executable_get_command,idlc) \
72 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
73 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
74 $(SRCDIR)/idlc/test/parser/published.tests \
75 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
76 $(call gb_Executable_get_command,idlc) \
77 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
78 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
79 $(SRCDIR)/idlc/test/parser/struct.tests \
80 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
81 $(call gb_Executable_get_command,idlc) \
82 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
83 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
84 $(SRCDIR)/idlc/test/parser/typedef.tests \
85 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
86 $(call gb_Executable_get_command,idlc) \
87 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {}) \
88 > $@.log 2>&1 || (cat $@.log && false))
89 endif
91 # vim: set noet sw=4 ts=4: