summaryrefslogtreecommitdiff
path: root/cachegrind/tests
diff options
context:
space:
mode:
authortom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-11-11 14:33:43 +0000
committertom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-11-11 14:33:43 +0000
commitef567321ae1f6724035645408c3f97a2f965dad7 (patch)
treedc8b14a512cdb5b7f460f5f2bf555d0531912536 /cachegrind/tests
parentc4b3f0c96e75d3b51d8d14748287381ec41175f3 (diff)
Allow 32 bit x86 tests to run on amd64 machines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5087 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind/tests')
-rw-r--r--cachegrind/tests/Makefile.am12
-rw-r--r--cachegrind/tests/x86/Makefile.am2
2 files changed, 12 insertions, 2 deletions
diff --git a/cachegrind/tests/Makefile.am b/cachegrind/tests/Makefile.am
index 480c0391..9ebfe900 100644
--- a/cachegrind/tests/Makefile.am
+++ b/cachegrind/tests/Makefile.am
@@ -1,4 +1,14 @@
-SUBDIRS = ${VG_ARCH} .
+SUBDIRS = .
+if VG_X86_LINUX
+SUBDIRS += x86
+endif
+if VG_AMD64_LINUX
+SUBDIRS += amd64
+endif
+if VG_PPC32_LINUX
+SUBDIRS += ppc32
+endif
+
DIST_SUBDIRS = ${VG_ARCH_ALL} .
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
diff --git a/cachegrind/tests/x86/Makefile.am b/cachegrind/tests/x86/Makefile.am
index bc0031dc..bc98f6a5 100644
--- a/cachegrind/tests/x86/Makefile.am
+++ b/cachegrind/tests/x86/Makefile.am
@@ -6,6 +6,6 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
check_PROGRAMS = \
fpu-28-108
-AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
+AM_CFLAGS = $(WERROR) @FLAG_M32@ -Winline -Wall -Wshadow -g
fpu_28_108_SOURCES = fpu-28-108.S