summaryrefslogtreecommitdiff
path: root/unoidl/CustomTarget_unoidl-write_test.mk
blob: a1c17c488bc3ecb8edd9e3198e9ce1db88c03777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_CustomTarget_CustomTarget,unoidl/unoidl-write_test))

# this target is phony to run it every time
.PHONY : $(call gb_CustomTarget_get_target,unoidl/unoidl-write_test)

$(call gb_CustomTarget_get_target,unoidl/unoidl-write_test) : \
        $(call gb_Executable_get_runtime_dependencies,unoidl-write) \
        $(SRCDIR)/solenv/bin/exectest.pl \
        $(SRCDIR)/idlc/test/parser/attribute.tests \
        $(SRCDIR)/idlc/test/parser/constant.tests \
        $(SRCDIR)/idlc/test/parser/constructor.tests \
        $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
        $(SRCDIR)/idlc/test/parser/methodoverload.tests \
        $(SRCDIR)/idlc/test/parser/polystruct.tests \
        $(SRCDIR)/idlc/test/parser/published.tests \
        $(SRCDIR)/idlc/test/parser/struct.tests \
        $(SRCDIR)/idlc/test/parser/typedef.tests \
        | $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/.dir
ifneq ($(gb_SUPPRESS_TESTS),)
	@true
else
	$(call gb_Helper_abbreviate_dirs,( \
        $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/attribute.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/constant.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/constructor.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/methodoverload.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/oldstyle.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/polystruct.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/published.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/struct.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb \
        && $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
            $(SRCDIR)/idlc/test/parser/typedef.tests \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/in.idl \
            1 $(call gb_Executable_get_command,unoidl-write) $(SRCDIR)/udkapi \
            {} \
            $(call gb_CustomTarget_get_workdir,unoidl/unoidl-write_test)/out.rdb) \
        > $@.log 2>&1 || (cat $@.log && false))
endif

# vim: set noet sw=4 ts=4:
tructor in equalsIgnoreAsciiCaseNoel Grandin 2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin 2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin 2013-10-23remove RTL_CONSTASCII_(U)STRINGPARAMChr. Rossmanith 2013-10-01Remove odd "bootstrapping" of acceptor/connector/binaryurp componentsStephan Bergmann 2013-06-29remove OUString wrap for string literalsThomas Arnhold 2013-06-15gbuild: allow to use RepositoryFixes also for executablesMatúš Kukan 2013-06-10fdo#46808, Use service constructor for connection::AcceptorNoel Grandin 2013-05-06fdo#62475 - remove ASCII artPhilipp Riemer 2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer 2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák 2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks 2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks 2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák 2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold 2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold 2013-03-19reduce whitespaces between include and filenameThomas Arnhold 2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks