]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
37253b9725b2d33be5e3e46fd4f6dc1d1e270bf3
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From c06fecbb009f4c42f01d86383d4571c96ba872f0 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 Makefile.am | 3 +++
10 1 file changed, 3 insertions(+)
11
12 diff --git a/Makefile.am b/Makefile.am
13 index 0ae7211..c8bcaca 100644
14 --- a/Makefile.am
15 +++ b/Makefile.am
16 @@ -713,6 +713,9 @@ endif
17 TESTS = $(unit_tests)
18 AM_TESTS_ENVIRONMENT = MALLOC_CHECK_=3 MALLOC_PERTURB_=69
19
20 +# This allows building tests without running them
21 +buildtests: $(TESTS)
22 +
23 if DBUS_RUN_SESSION
24 AM_TESTS_ENVIRONMENT += dbus-run-session --
25 endif