kmod: avoid parallel-tests
authorTudor Florea <tudor.florea@enea.com>
Fri, 6 Sep 2013 21:11:57 +0000 (21:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 14:57:20 +0000 (15:57 +0100)
Avoid parallel-tests for kmod as it remove
buildtest-TESTS and runtest-TESTS targets required by ptest.

(From OE-Core rev: e1a3ff7d455889e4c6b899227e8ca1919a443b22)

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>
meta/recipes-kernel/kmod/kmod.inc
meta/recipes-kernel/kmod/kmod/remove_parallel_tests.patch [new file with mode: 0644]

index 1728a4e..633258b 100644 (file)
@@ -19,6 +19,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
            file://depmod-search.conf \
            file://run-ptest \
            file://ptest.patch \
+           file://remove_parallel_tests.patch \
           "
 
 SRCREV = "3b38c7fcb58be4ddc34f90454c5f5dc3693d2d85"
diff --git a/meta/recipes-kernel/kmod/kmod/remove_parallel_tests.patch b/meta/recipes-kernel/kmod/kmod/remove_parallel_tests.patch
new file mode 100644 (file)
index 0000000..ee19428
--- /dev/null
@@ -0,0 +1,18 @@
+Avoid parallel-tests as it remove
+buildtest-TESTS and runtest-TESTS targets
+
+Signed-off-by: Tudor Florea <tudor.florea@enea.com>
+Upstream-Status: Inappropriate (disable feature incompatible with ptest) 
+
+diff -ruN a/configure.ac b/configure.ac
+--- a/configure.ac     2013-09-02 15:05:18.662366800 +0200
++++ b/configure.ac     2013-09-02 15:05:49.557066764 +0200
+@@ -8,7 +8,7 @@
+ AC_CONFIG_SRCDIR([libkmod/libkmod.c])
+ AC_CONFIG_AUX_DIR([build-aux])
+ AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules
+-      tar-pax no-dist-gzip dist-xz subdir-objects color-tests parallel-tests])
++      tar-pax no-dist-gzip dist-xz subdir-objects color-tests])
+ AC_PROG_CC_STDC
+ AC_USE_SYSTEM_EXTENSIONS
+ AC_SYS_LARGEFILE