diff options
Diffstat (limited to 'meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch')
-rw-r--r-- | meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch new file mode 100644 index 0000000000..91c7f1c2cc --- /dev/null +++ b/meta/recipes-devtools/automake/automake/0004-Add-a-new-distro-feature-ptest.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | From 839dca38cf24e70c7f0e20015d55aa8e543dd403 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= <bjst@enea.com> | ||
3 | Date: Wed, 19 Dec 2012 17:18:27 +0100 | ||
4 | Subject: [PATCH 4/6] Add a new distro feature "ptest". | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Split "check-TESTS" into a buildtest and runtest target, so that they can | ||
10 | be run separately. | ||
11 | |||
12 | Signed-off-by: Björn Stenberg <bjst@enea.com> | ||
13 | Upstream-Status: Pending | ||
14 | --- | ||
15 | lib/am/check.am | 11 +++++++++-- | ||
16 | 1 file changed, 9 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/lib/am/check.am b/lib/am/check.am | ||
19 | index e51a771..070e2da 100644 | ||
20 | --- a/lib/am/check.am | ||
21 | +++ b/lib/am/check.am | ||
22 | @@ -41,7 +41,7 @@ am__tty_colors = { \ | ||
23 | fi; \ | ||
24 | } | ||
25 | |||
26 | -.PHONY: check-TESTS | ||
27 | +.PHONY: check-TESTS buildtest-TESTS runtest-TESTS | ||
28 | |||
29 | if !%?SERIAL_TESTS% | ||
30 | |||
31 | @@ -520,7 +520,14 @@ else %?SERIAL_TESTS% | ||
32 | |||
33 | ## Obsolescent serial testsuite driver. | ||
34 | |||
35 | -check-TESTS: $(TESTS) | ||
36 | +AM_RECURSIVE_TARGETS += buildtest runtest | ||
37 | + | ||
38 | +buildtest-TESTS: $(TESTS) $(check_PROGRAMS) | ||
39 | + | ||
40 | +check-TESTS: buildtest-TESTS | ||
41 | + $(MAKE) $(AM_MAKEFLAGS) runtest-TESTS | ||
42 | + | ||
43 | +runtest-TESTS: | ||
44 | @failed=0; all=0; xfail=0; xpass=0; skip=0; \ | ||
45 | srcdir=$(srcdir); export srcdir; \ | ||
46 | ## Make sure Solaris VPATH-expands all members of this list, even | ||
47 | -- | ||
48 | 2.39.2 | ||
49 | |||