Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / unoidl / CustomTarget_unoidl-write_test.mk
blob22c25b0085c5adfc2f1565662a9a5aa264222912
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/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_CustomTarget_get_workdir,unoidl/unoidl-write_test)/.dir
28 $(call gb_Helper_abbreviate_dirs,( \
29 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
30 $(SRCDIR)/idlc/test/parser/attribute.tests \
31 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
32 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
33 {} \
34 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
35 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
36 $(SRCDIR)/idlc/test/parser/constant.tests \
37 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
38 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
39 {} \
40 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
41 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
42 $(SRCDIR)/idlc/test/parser/constructor.tests \
43 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
44 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
45 {} \
46 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
47 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
48 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
49 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
50 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
51 {} \
52 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
53 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
54 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
55 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
56 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
57 {} \
58 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
59 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
60 $(SRCDIR)/idlc/test/parser/oldstyle.tests \
61 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
62 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
63 {} \
64 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
65 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
66 $(SRCDIR)/idlc/test/parser/polystruct.tests \
67 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
68 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
69 {} \
70 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
71 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
72 $(SRCDIR)/idlc/test/parser/published.tests \
73 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
74 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
75 {} \
76 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
77 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
78 $(SRCDIR)/idlc/test/parser/struct.tests \
79 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
80 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
81 {} \
82 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
83 && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
84 $(SRCDIR)/idlc/test/parser/typedef.tests \
85 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
86 1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
87 {} \
88 $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb) \
89 > $@.log 2>&1 || (cat $@.log && false))
91 # vim: set noet sw=4 ts=4: