ltp-testsuite: bump version to 20130109
authorJerin Jacob <jerinjacobk@gmail.com>
Thu, 28 Feb 2013 04:55:40 +0000 (04:55 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Mar 2013 09:30:23 +0000 (10:30 +0100)
[Peter: drop version number in patches]
Signed-off-by: Jerin Jacob <jerinjacobk@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/ltp-testsuite/ltp-testsuite-20101031-disable-controllers.patch [deleted file]
package/ltp-testsuite/ltp-testsuite-20101031-fix-build-on-uClibc-exp10.patch [deleted file]
package/ltp-testsuite/ltp-testsuite-disable-controllers.patch [new file with mode: 0644]
package/ltp-testsuite/ltp-testsuite-fix-build-on-uClibc-exp10.patch [new file with mode: 0644]
package/ltp-testsuite/ltp-testsuite.mk

diff --git a/package/ltp-testsuite/ltp-testsuite-20101031-disable-controllers.patch b/package/ltp-testsuite/ltp-testsuite-20101031-disable-controllers.patch
deleted file mode 100644 (file)
index 57d6038..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Disable controllers testcases
-
-The cpuset controllers testcases do not build due to bug
-https://sourceforge.net/tracker/?func=detail&aid=3126942&group_id=3382&atid=103382. Disabling
-just the cpuset controllers do not seem to be easily possible, and
-those controller features are rarely used on embedded systems anyway.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- testcases/kernel/Makefile |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: ltp-testsuite-20101031/testcases/kernel/Makefile
-===================================================================
---- ltp-testsuite-20101031.orig/testcases/kernel/Makefile
-+++ ltp-testsuite-20101031/testcases/kernel/Makefile
-@@ -28,7 +28,7 @@
- #
- # KEEP THIS LIST ALPHABETIZED PLEASE!
- ifneq ($(UCLINUX),1)
--SUBDIRS               := containers connectors controllers fs hotplug io ipc mem \
-+SUBDIRS               := containers connectors fs hotplug io ipc mem \
-                  numa performance_counters power_management pty sched \
-                  security syscalls timers tracing
- else
diff --git a/package/ltp-testsuite/ltp-testsuite-20101031-fix-build-on-uClibc-exp10.patch b/package/ltp-testsuite/ltp-testsuite-20101031-fix-build-on-uClibc-exp10.patch
deleted file mode 100644 (file)
index 7a02d95..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Inspired by: http://peter.korsgaard.com/patches/alsa-utils/alsamixer-fix-build-on-uClibc-exp10.patch
-
-exp10 extension is not part of uClibc, so compute it.
-
-
-Signed-off-by: Samuel Martin <s.martin49@gmail.com>
-
-diff -purN ltp-testsuite-20101031.orig/testcases/realtime/lib/libstats.c ltp-testsuite-20101031/testcases/realtime/lib/libstats.c
---- ltp-testsuite-20101031.orig/testcases/realtime/lib/libstats.c      2012-10-22 23:19:02.306646174 +0200
-+++ ltp-testsuite-20101031/testcases/realtime/lib/libstats.c   2012-10-22 23:25:41.554847766 +0200
-@@ -46,6 +46,11 @@
- #include <libstats.h>
- #include <librttest.h>
-+#ifdef __UCLIBC__
-+/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
-+#define exp10(x) (exp((x) * log(10)))
-+#endif /* __UCLIBC__ */
-+
- int save_stats = 0;
- /* static helper functions */
diff --git a/package/ltp-testsuite/ltp-testsuite-disable-controllers.patch b/package/ltp-testsuite/ltp-testsuite-disable-controllers.patch
new file mode 100644 (file)
index 0000000..85ef262
--- /dev/null
@@ -0,0 +1,29 @@
+Disable controllers testcases.
+This fix is carried over from 20101031 version.
+
+The cpuset controllers testcases do not build due to bug
+https://sourceforge.net/tracker/?func=detail&aid=3126942&group_id=3382&atid=103382.
+Disabling just the cpuset controllers do not seem to be easily possible, and
+those controller features are rarely used on embedded systems anyway.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Jerin Jacob  <jerinjacobk@gmail.com>
+---
+ testcases/kernel/Makefile |    1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile
+index 4b4800d..d6ab7b6 100644
+--- a/testcases/kernel/Makefile
++++ b/testcases/kernel/Makefile
+@@ -37,7 +37,6 @@ ifneq ($(UCLINUX),1)
+ # KEEP THIS LIST ALPHABETIZED PLEASE!
+ SUBDIRS                       += connectors \
+                          containers \
+-                         controllers \
+                          fs \
+                          hotplug \
+                          io \
+-- 
+1.7.6.5
+
diff --git a/package/ltp-testsuite/ltp-testsuite-fix-build-on-uClibc-exp10.patch b/package/ltp-testsuite/ltp-testsuite-fix-build-on-uClibc-exp10.patch
new file mode 100644 (file)
index 0000000..7a02d95
--- /dev/null
@@ -0,0 +1,22 @@
+Inspired by: http://peter.korsgaard.com/patches/alsa-utils/alsamixer-fix-build-on-uClibc-exp10.patch
+
+exp10 extension is not part of uClibc, so compute it.
+
+
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+
+diff -purN ltp-testsuite-20101031.orig/testcases/realtime/lib/libstats.c ltp-testsuite-20101031/testcases/realtime/lib/libstats.c
+--- ltp-testsuite-20101031.orig/testcases/realtime/lib/libstats.c      2012-10-22 23:19:02.306646174 +0200
++++ ltp-testsuite-20101031/testcases/realtime/lib/libstats.c   2012-10-22 23:25:41.554847766 +0200
+@@ -46,6 +46,11 @@
+ #include <libstats.h>
+ #include <librttest.h>
++#ifdef __UCLIBC__
++/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */
++#define exp10(x) (exp((x) * log(10)))
++#endif /* __UCLIBC__ */
++
+ int save_stats = 0;
+ /* static helper functions */
index d0276f227234a1e3b3b4e11fb07c550992381728..caed4b3ab9cc2ecd256545244f720d5ec8eb99c2 100644 (file)
@@ -3,7 +3,7 @@
 # ltp-testsuite
 #
 #############################################################
-LTP_TESTSUITE_VERSION = 20101031
+LTP_TESTSUITE_VERSION = 20130109
 LTP_TESTSUITE_SOURCE  = ltp-full-$(LTP_TESTSUITE_VERSION).bz2
 LTP_TESTSUITE_SITE    = http://downloads.sourceforge.net/project/ltp/LTP%20Source/ltp-$(LTP_TESTSUITE_VERSION)
 LTP_TESTSUITE_LICENSE = GPLv2 GPLv2+