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