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
),)
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
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 \
91 $(call gb_CustomTarget_get_workdir
,unoidl
/unoidl-write_test
)/out.rdb
) \
92 > $@.log
2>&1 ||
(cat
$@.log
&& false
))
95 # vim: set noet sw=4 ts=4: