update credits
[LibreOffice.git] / idlc / CustomTarget_parser_test.mk
blob6be490aed38b20db6a50f40cd3117ef5f7459951
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/interfaceinheritance.tests \
22 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
23 $(SRCDIR)/idlc/test/parser/polystruct.tests \
24 $(SRCDIR)/idlc/test/parser/published.tests \
25 $(SRCDIR)/idlc/test/parser/struct.tests \
26 $(SRCDIR)/idlc/test/parser/typedef.tests
27 $(call gb_Helper_abbreviate_dirs,( \
28 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
29 $(SRCDIR)/idlc/test/parser/attribute.tests \
30 $(call gb_Executable_get_command,idlc) \
31 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
32 -stdin && \
33 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
34 $(SRCDIR)/idlc/test/parser/constant.tests \
35 $(call gb_Executable_get_command,idlc) \
36 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
37 -stdin && \
38 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
39 $(SRCDIR)/idlc/test/parser/constructor.tests \
40 $(call gb_Executable_get_command,idlc) \
41 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
42 -stdin && \
43 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
44 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
45 $(call gb_Executable_get_command,idlc) \
46 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
47 -stdin && \
48 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
49 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
50 $(call gb_Executable_get_command,idlc) \
51 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
52 -stdin && \
53 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
54 $(SRCDIR)/idlc/test/parser/oldstyle.tests \
55 $(call gb_Executable_get_command,idlc) \
56 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
57 -stdin && \
58 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
59 $(SRCDIR)/idlc/test/parser/polystruct.tests \
60 $(call gb_Executable_get_command,idlc) \
61 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
62 -stdin && \
63 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
64 $(SRCDIR)/idlc/test/parser/published.tests \
65 $(call gb_Executable_get_command,idlc) \
66 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
67 -stdin && \
68 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
69 $(SRCDIR)/idlc/test/parser/struct.tests \
70 $(call gb_Executable_get_command,idlc) \
71 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
72 -stdin && \
73 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
74 $(SRCDIR)/idlc/test/parser/typedef.tests \
75 $(call gb_Executable_get_command,idlc) \
76 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) \
77 -stdin) > $@.log 2>&1 || (cat $@.log && false))
79 # vim: set noet sw=4 ts=4: