adding some fuzz to row height tolerance tests
[LibreOffice.git] / idlc / CustomTarget_parser_test.mk
blob0c9d15e4f86ba0311fe095445ae8019d6162154b
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,idlc/parser_test))
12 # this target is phony to run it every time
13 .PHONY : $(call gb_CustomTarget_get_target,idlc/parser_test)
15 $(call gb_CustomTarget_get_target,idlc/parser_test) : \
16 $(call gb_Executable_get_runtime_dependencies,idlc) \
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,idlc/parser_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,idlc/parser_test)/in.idl 0 \
35 $(call gb_Executable_get_command,idlc) \
36 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
37 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
38 $(SRCDIR)/idlc/test/parser/constant.tests \
39 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
40 $(call gb_Executable_get_command,idlc) \
41 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
42 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
43 $(SRCDIR)/idlc/test/parser/constructor.tests \
44 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
45 $(call gb_Executable_get_command,idlc) \
46 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
47 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
48 $(SRCDIR)/idlc/test/parser/interfaceinheritance.tests \
49 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
50 $(call gb_Executable_get_command,idlc) \
51 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
52 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
53 $(SRCDIR)/idlc/test/parser/methodoverload.tests \
54 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
55 $(call gb_Executable_get_command,idlc) \
56 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
57 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
58 $(SRCDIR)/idlc/test/parser/oldstyle.tests \
59 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
60 $(call gb_Executable_get_command,idlc) \
61 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
62 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
63 $(SRCDIR)/idlc/test/parser/polystruct.tests \
64 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
65 $(call gb_Executable_get_command,idlc) \
66 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
67 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
68 $(SRCDIR)/idlc/test/parser/published.tests \
69 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
70 $(call gb_Executable_get_command,idlc) \
71 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
72 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
73 $(SRCDIR)/idlc/test/parser/struct.tests \
74 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
75 $(call gb_Executable_get_command,idlc) \
76 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {} && \
77 $(PERL) $(SRCDIR)/solenv/bin/exectest.pl \
78 $(SRCDIR)/idlc/test/parser/typedef.tests \
79 $(call gb_CustomTarget_get_workdir,idlc/parser_test)/in.idl 0 \
80 $(call gb_Executable_get_command,idlc) \
81 -O $(call gb_CustomTarget_get_workdir,idlc/parser_test) {}) \
82 > $@.log 2>&1 || (cat $@.log && false))
83 endif
85 # vim: set noet sw=4 ts=4: