On 23 May 2011 23:17, Jiri Olsa <jolsa(a)redhat.com> wrote:
anyway, you're right, please check another proposal here:
git://fedorapeople.org/~jolsa/latrace.git
branch test_fix1
arch files including 32 or 64 version of the long test
Yes, that works. (I can see some people may dislike #including a .c
file but it works and is a simple solution).
So with that, then it just needs the ARM tests turning on, as per this patch:
commit 85be426338b3f2b5e1153b083e7b96c1d5e219ba
Author: Dr. David Alan Gilbert <david.gilbert(a)linaro.org>
Date: Tue May 24 17:46:50 2011 +0100
Enable ARM tests
diff --git a/configure.ac b/configure.ac
index bc585ca..572525e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,8 @@ fi
# for following architectures we have automated tests support
if test "$unamem" = "x86_64" -o\
- "$unamem" = "i686"; then
+ "$unamem" = "i686" -o\
+ "$unamem" = "arm" ; then
AC_SUBST(CONFIG_ARCH_HAVE_TEST, "y")
else
AC_MSG_WARN([No automated test support])
diff --git a/test/sysdeps/arm/test-args.c b/test/sysdeps/arm/test-args.c
new file mode 100644
index 0000000..b513faf
--- /dev/null
+++ b/test/sysdeps/arm/test-args.c
@@ -0,0 +1,2 @@
+
+#include <test/test-args-long-32.c>