Update git submodules
[libreoffice.git] / unoidl / CustomTarget_unoidl-write_test.mk
blob7641fb533324b2b75727232ee908481822761940
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,unoidl/unoidl-write_test))
12 # this target is phony to run it every time
13 .PHONY : $(call gb_CustomTarget_get_target,unoidl/unoidl-write_test)
15 $(call gb_CustomTarget_get_target,unoidl/unoidl-write_test) : \
16 $(call gb_Executable_get_runtime_dependencies,unoidl-write) \
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 | $(gb_CustomTarget_workdir)/unoidl/unoidl-write_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 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
36 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
37 {} \
38 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
39 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
40 $(SRCDIR)/idlc/test/parser/constant.tests \
41 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
42 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
43 {} \
44 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
45 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
46 $(SRCDIR)/idlc/test/parser/constructor.tests \
47 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
48 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
49 {} \
50 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
51 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
52 $(SRCDIR)/idlc/test/parser/conversion.tests \
53 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
54 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
55 {} \
56 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
57 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
58 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
59 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
60 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
61 {} \
62 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
63 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
64 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
65 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
66 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
67 {} \
68 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
69 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
70 $(SRCDIR)/idlc/test/parser/oldstyle.tests \
71 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
72 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
73 {} \
74 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
75 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
76 $(SRCDIR)/idlc/test/parser/polystruct.tests \
77 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
78 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
79 {} \
80 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
81 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
82 $(SRCDIR)/idlc/test/parser/published.tests \
83 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
84 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
85 {} \
86 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
87 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
88 $(SRCDIR)/idlc/test/parser/struct.tests \
89 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
90 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
91 {} \
92 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb \
93 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
94 $(SRCDIR)/idlc/test/parser/typedef.tests \
95 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/in.idl \
96 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
97 {} \
98 $(gb_CustomTarget_workdir)/unoidl/unoidl-write_test/out.rdb) \
99 > $@.log 2>&1 || (cat $@.log && false))
100 endif
102 # vim: set noet sw=4 ts=4: