summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <david.gilbert@linaro.org>2011-05-24 23:55:48 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2011-05-25 12:46:00 +0200
commit47a548eba45694f3bfaf983fa32c31c5b57841c3 (patch)
tree0b39f99ae326b8b9f83b09e69e011953cd54e534
parentfa996985a9483ea9dd30603c6daae459b80dff4d (diff)
downloadlatrace-47a548eba45694f3bfaf983fa32c31c5b57841c3.tar.gz
latrace-47a548eba45694f3bfaf983fa32c31c5b57841c3.tar.xz
latrace-47a548eba45694f3bfaf983fa32c31c5b57841c3.zip
enable tests for ARM architecture
contributed by Dr. David Alan Gilbert <david.gilbert@linaro.org>
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac3
-rw-r--r--test/sysdeps/arm/test-args.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8083db6..92eced6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
2011-05-24 Jiri Olsa <olsajiri@gmail.com>
* args - use isprint to decide whether to print the character,
- force test.sh to use bash
+ force test.sh to use bash,
+ enable tests for ARM architecture
(contributed by Dr. David Alan Gilbert <david.gilbert@linaro.org>)
* fix test_[char|short|int|long] tests
* test_long - separate 32/64 versions
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>