diff options
Diffstat (limited to 'meta/recipes-extended/ethtool/ethtool')
-rw-r--r-- | meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch | 18 | ||||
-rw-r--r-- | meta/recipes-extended/ethtool/ethtool/run-ptest | 2 |
2 files changed, 20 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..ba3c8aac0c --- /dev/null +++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | ptest needs buildtest-TESTS and runtest-TESTS targets. | ||
2 | serial-tests is required to generate those targets. | ||
3 | |||
4 | Signed-off-by: Alexandra Safta <alexandra.safta@enea.com> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | diff -ruN a/configure.ac b/configure.ac | ||
8 | --- a/configure.ac 2014-05-26 17:52:40.184221302 +0200 | ||
9 | +++ b/configure.ac 2014-05-26 17:53:04.099222334 +0200 | ||
10 | @@ -2,7 +2,7 @@ | ||
11 | AC_INIT(ethtool, 3.13, netdev@vger.kernel.org) | ||
12 | AC_PREREQ(2.52) | ||
13 | AC_CONFIG_SRCDIR([ethtool.c]) | ||
14 | -AM_INIT_AUTOMAKE([gnu]) | ||
15 | +AM_INIT_AUTOMAKE([gnu serial-tests]) | ||
16 | AC_CONFIG_HEADERS([ethtool-config.h]) | ||
17 | |||
18 | AM_MAINTAINER_MODE | ||
diff --git a/meta/recipes-extended/ethtool/ethtool/run-ptest b/meta/recipes-extended/ethtool/ethtool/run-ptest new file mode 100644 index 0000000000..1e245da112 --- /dev/null +++ b/meta/recipes-extended/ethtool/ethtool/run-ptest | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | make -k runtest-TESTS | ||