summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2012-05-24 17:08:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:17:35 +0100
commitbbb9f831dbfcedf799021f2b0a1dd7aef3c0f928 (patch)
tree73eb163fff93295f9687bb717923d9d7ebced37c /meta/recipes-extended
parent75abd412cd4294ec0bcd544630988dd2ed042ff8 (diff)
downloadopenembedded-core-bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928.tar.gz
openembedded-core-bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928.tar.bz2
openembedded-core-bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928.zip
ltp: Upgrade LTP to version 20120401
Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/ltp/ltp/uclibc-getcontext.patch78
-rw-r--r--meta/recipes-extended/ltp/ltp_20120401.bb (renamed from meta/recipes-extended/ltp/ltp_20120104.bb)7
2 files changed, 3 insertions, 82 deletions
diff --git a/meta/recipes-extended/ltp/ltp/uclibc-getcontext.patch b/meta/recipes-extended/ltp/ltp/uclibc-getcontext.patch
deleted file mode 100644
index 310e2d4fa6..0000000000
--- a/meta/recipes-extended/ltp/ltp/uclibc-getcontext.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-Fix building disabled getcontext and profil01 tests for uclibc
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Pending
-
-Index: ltp-20110915/testcases/kernel/syscalls/getcontext/getcontext01.c
-===================================================================
---- ltp-20110915.orig/testcases/kernel/syscalls/getcontext/getcontext01.c 2012-01-19 16:39:24.391012507 -0800
-+++ ltp-20110915/testcases/kernel/syscalls/getcontext/getcontext01.c 2012-01-19 16:39:24.459012510 -0800
-@@ -34,6 +34,10 @@
- **********************************************************/
-
- #include <features.h>
-+#include "test.h"
-+#include "usctest.h"
-+char *TCID = "getcontext01"; /* Test program identifier. */
-+
- #if !defined(__UCLIBC__)
-
- #include <stdio.h>
-@@ -41,13 +45,9 @@
- #include <errno.h>
- #include <ucontext.h>
-
--#include "test.h"
--#include "usctest.h"
--
- void setup();
- void cleanup();
-
--char *TCID = "getcontext01"; /* Test program identifier. */
- int TST_TOTAL = 1; /* Total number of test cases. */
-
- int exp_enos[] = { 0 }; /* must be a 0 terminated list */
-@@ -102,4 +102,4 @@
- {
- tst_brkm(TCONF, NULL, "system doesn't have getcontext support");
- }
--#endif
-\ No newline at end of file
-+#endif
-Index: ltp-20110915/testcases/kernel/syscalls/profil/profil01.c
-===================================================================
---- ltp-20110915.orig/testcases/kernel/syscalls/profil/profil01.c 2012-01-19 16:39:55.975014036 -0800
-+++ ltp-20110915/testcases/kernel/syscalls/profil/profil01.c 2012-01-19 16:40:23.475015322 -0800
-@@ -41,6 +41,8 @@
- #endif
-
- #include <features.h>
-+#include "test.h"
-+char *TCID = "profil01";
- #ifndef __UCLIBC__
-
- #ifdef __arm__
-@@ -58,7 +60,6 @@
- #include <errno.h>
- #include <sys/types.h>
- #include <sys/wait.h>
--#include "test.h"
- #include "usctest.h"
- #define FAILED 0
- #define PASSED 1
-@@ -73,7 +74,6 @@
- //char progname[]= "profil1()";
-
- /***** LTP Port *****/
--char *TCID = "profil01";
- int local_flag = PASSED;
- int block_number;
- FILE *temp;
-@@ -310,4 +310,4 @@
- /* uClibc does not have profiling support */
- tst_exit();
- }
--#endif
-\ No newline at end of file
-+#endif
diff --git a/meta/recipes-extended/ltp/ltp_20120104.bb b/meta/recipes-extended/ltp/ltp_20120401.bb
index c82203a764..821d9e4bbb 100644
--- a/meta/recipes-extended/ltp/ltp_20120104.bb
+++ b/meta/recipes-extended/ltp/ltp_20120401.bb
@@ -19,14 +19,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2 \
- file://uclibc-getcontext.patch \
"
-SRC_URI[md5sum] = "ac183bbdac67139f049b3755fda37179"
-SRC_URI[sha256sum] = "11b149b821d709e3351ac66f028f1b0dd5337ee9073dc20019ccffdac42d5c2e"
+SRC_URI[md5sum] = "e1d0acf1a6b6da0cb30dc1b0dcf5f26d"
+SRC_URI[sha256sum] = "f0f5845f9666f61332fdf0b7e396fc647f9372db0902a829af2cf9402b807bd1"
export prefix = "/opt/ltp"
export exec_prefix = "/opt/ltp"