summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp
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:55 +0100
commitcfc882e2db717296b175f23e18fad92551647f83 (patch)
tree663a11d7a0c1dc0ae38b7568b9eb5c62f15cab6f /meta/recipes-extended/ltp/ltp
parented14592700054418c4d502def30453ef625e0f74 (diff)
downloadpoky-cfc882e2db717296b175f23e18fad92551647f83.tar.gz
ltp: Upgrade LTP to version 20120401
(From OE-Core rev: bbb9f831dbfcedf799021f2b0a1dd7aef3c0f928) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp')
-rw-r--r--meta/recipes-extended/ltp/ltp/uclibc-getcontext.patch78
1 files changed, 0 insertions, 78 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