summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 @@
1Fix building disabled getcontext and profil01 tests for uclibc
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4
5Upstream-Status: Pending
6
7Index: ltp-20110915/testcases/kernel/syscalls/getcontext/getcontext01.c
8===================================================================
9--- ltp-20110915.orig/testcases/kernel/syscalls/getcontext/getcontext01.c 2012-01-19 16:39:24.391012507 -0800
10+++ ltp-20110915/testcases/kernel/syscalls/getcontext/getcontext01.c 2012-01-19 16:39:24.459012510 -0800
11@@ -34,6 +34,10 @@
12 **********************************************************/
13
14 #include <features.h>
15+#include "test.h"
16+#include "usctest.h"
17+char *TCID = "getcontext01"; /* Test program identifier. */
18+
19 #if !defined(__UCLIBC__)
20
21 #include <stdio.h>
22@@ -41,13 +45,9 @@
23 #include <errno.h>
24 #include <ucontext.h>
25
26-#include "test.h"
27-#include "usctest.h"
28-
29 void setup();
30 void cleanup();
31
32-char *TCID = "getcontext01"; /* Test program identifier. */
33 int TST_TOTAL = 1; /* Total number of test cases. */
34
35 int exp_enos[] = { 0 }; /* must be a 0 terminated list */
36@@ -102,4 +102,4 @@
37 {
38 tst_brkm(TCONF, NULL, "system doesn't have getcontext support");
39 }
40-#endif
41\ No newline at end of file
42+#endif
43Index: ltp-20110915/testcases/kernel/syscalls/profil/profil01.c
44===================================================================
45--- ltp-20110915.orig/testcases/kernel/syscalls/profil/profil01.c 2012-01-19 16:39:55.975014036 -0800
46+++ ltp-20110915/testcases/kernel/syscalls/profil/profil01.c 2012-01-19 16:40:23.475015322 -0800
47@@ -41,6 +41,8 @@
48 #endif
49
50 #include <features.h>
51+#include "test.h"
52+char *TCID = "profil01";
53 #ifndef __UCLIBC__
54
55 #ifdef __arm__
56@@ -58,7 +60,6 @@
57 #include <errno.h>
58 #include <sys/types.h>
59 #include <sys/wait.h>
60-#include "test.h"
61 #include "usctest.h"
62 #define FAILED 0
63 #define PASSED 1
64@@ -73,7 +74,6 @@
65 //char progname[]= "profil1()";
66
67 /***** LTP Port *****/
68-char *TCID = "profil01";
69 int local_flag = PASSED;
70 int block_number;
71 FILE *temp;
72@@ -310,4 +310,4 @@
73 /* uClibc does not have profiling support */
74 tst_exit();
75 }
76-#endif
77\ No newline at end of file
78+#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 \
19 file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 19 file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
20 " 20 "
21 21
22PR = "r1" 22PR = "r2"
23 23
24SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2 \ 24SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2 \
25 file://uclibc-getcontext.patch \
26 " 25 "
27 26
28SRC_URI[md5sum] = "ac183bbdac67139f049b3755fda37179" 27SRC_URI[md5sum] = "e1d0acf1a6b6da0cb30dc1b0dcf5f26d"
29SRC_URI[sha256sum] = "11b149b821d709e3351ac66f028f1b0dd5337ee9073dc20019ccffdac42d5c2e" 28SRC_URI[sha256sum] = "f0f5845f9666f61332fdf0b7e396fc647f9372db0902a829af2cf9402b807bd1"
30 29
31export prefix = "/opt/ltp" 30export prefix = "/opt/ltp"
32export exec_prefix = "/opt/ltp" 31export exec_prefix = "/opt/ltp"