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