diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-05-28 18:59:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-29 17:53:40 +0100 |
commit | 269c8a56d0701525718efa9d938d90f96ac26d8e (patch) | |
tree | 644ad63f400e119e9ba0930a06e11fff71e8b46f /meta/recipes-extended/ethtool/ethtool | |
parent | 963c8ea99d71fef027a60c2142f4785c64bbfb66 (diff) | |
download | poky-269c8a56d0701525718efa9d938d90f96ac26d8e.tar.gz |
ethtool: use serial-tests config needed by ptest.
buildtest-TESTS and runtest-TESTS targets are required by ptest.
In order to have those targets in automake 1.13.4 serial-tests
should be specified since parallel-tests is assumed by default
and serial-tests is optional.
ptest results:
PASS: test-cmdline
PASS: test-features
==================
All 2 tests passed
==================
(From OE-Core rev: 15bdef1f25ef567caf2f2e270de899e35da7cca9)
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ethtool/ethtool')
-rw-r--r-- | meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch new file mode 100644 index 0000000000..bf66267e81 --- /dev/null +++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | ptest needs buildtest-TESTS and runtest-TESTS targets. | ||
2 | serial-tests is required to generate those targets. | ||
3 | |||
4 | Signed-off-by: Tudor Florea <tudor.florea@enea.com> | ||
5 | Upstream-Status: Inappropriate | ||
6 | (default automake behavior incompatible with ptest) | ||
7 | |||
8 | diff -ruN a/configure.ac b/configure.ac | ||
9 | --- a/configure.ac 2014-05-28 18:19:13.513980977 +0200 | ||
10 | +++ b/configure.ac 2014-05-28 18:19:21.129660215 +0200 | ||
11 | @@ -2,7 +2,7 @@ | ||
12 | AC_INIT(ethtool, 3.14, netdev@vger.kernel.org) | ||
13 | AC_PREREQ(2.52) | ||
14 | AC_CONFIG_SRCDIR([ethtool.c]) | ||
15 | -AM_INIT_AUTOMAKE([gnu]) | ||
16 | +AM_INIT_AUTOMAKE([gnu serial-tests]) | ||
17 | AC_CONFIG_HEADERS([ethtool-config.h]) | ||
18 | |||
19 | AM_MAINTAINER_MODE | ||