]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
881494a3543e426b4227b539787626a2e7141d13
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From 738e73b386352fd90f1f26cc1ee75427cf4dc23b Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Fri, 1 Apr 2016 17:07:34 +0300
4 Subject: [PATCH] tests: add a target for building tests without running them
5
6 Upstream-Status: Inappropriate [oe specific]
7 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9 ---
10 Makefile.am | 3 +++
11 1 file changed, 3 insertions(+)
12
13 diff --git a/Makefile.am b/Makefile.am
14 index e738eb3..dab17dd 100644
15 --- a/Makefile.am
16 +++ b/Makefile.am
17 @@ -710,6 +710,9 @@ endif
18 TESTS = $(unit_tests)
19 AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69
20
21 +# This allows building tests without running them
22 +buildtests: $(TESTS)
23 +
24 if DBUS_RUN_SESSION
25 AM_TESTS_ENVIRONMENT += dbus-run-session --
26 endif