]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
be050935515a9829ff73eafc305898d8b804b4f3
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From 3724958858b0ee430f37fb83388c3737d2039a3a 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 e7221bd..9595fd1 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