From fb6d1e04270e4b1d4b6b3fecebe1bd075b9e872e Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 1 Jul 2010 01:09:42 +0000 Subject: [PATCH] Fix various bits of regtest breakage on amd64-linux caused by the MACOSX106 merge. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11199 --- memcheck/tests/amd64-linux/Makefile.am | 14 ++++++++------ .../tests/{amd64 => amd64-linux}/filter_defcfaexpr | 2 +- memcheck/tests/amd64/Makefile.am | 9 --------- 3 files changed, 9 insertions(+), 16 deletions(-) rename memcheck/tests/{amd64 => amd64-linux}/filter_defcfaexpr (91%) diff --git a/memcheck/tests/amd64-linux/Makefile.am b/memcheck/tests/amd64-linux/Makefile.am index 90e89f5196..5a25be2247 100644 --- a/memcheck/tests/amd64-linux/Makefile.am +++ b/memcheck/tests/amd64-linux/Makefile.am @@ -2,18 +2,20 @@ include $(top_srcdir)/Makefile.tool-tests.am dist_noinst_SCRIPTS = \ - filter_stderr + filter_stderr filter_defcfaexpr EXTRA_DIST = \ - defcaexpr.vgtest defcaexpr.stderr.exp \ + defcfaexpr.vgtest defcfaexpr.stderr.exp \ int3-x86.vgtest int3-x86.stderr.exp int3-x86.stdout.exp check_PROGRAMS = \ - defcaexpr \ + defcfaexpr \ int3-amd64 -AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE) -AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE) -AM_CCASFLAGS += @FLAG_M32@ +AM_CFLAGS += @FLAG_M64@ +AM_CXXFLAGS += @FLAG_M64@ +AM_CCASFLAGS += @FLAG_M64@ + +defcfaexpr_SOURCES = defcfaexpr.S diff --git a/memcheck/tests/amd64/filter_defcfaexpr b/memcheck/tests/amd64-linux/filter_defcfaexpr similarity index 91% rename from memcheck/tests/amd64/filter_defcfaexpr rename to memcheck/tests/amd64-linux/filter_defcfaexpr index 7fa1afee71..5f4af58359 100755 --- a/memcheck/tests/amd64/filter_defcfaexpr +++ b/memcheck/tests/amd64-linux/filter_defcfaexpr @@ -23,6 +23,6 @@ # stack given the unusual CFAs describing it. -sed "s/\/.*\/tests\/amd64\/defcfaexpr/bogus.S:0/" | \ +sed "s/\/.*\/tests\/amd64-linux\/defcfaexpr/bogus.S:0/" | \ sed "s/(in /(/" | \ ./filter_stderr diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index 147bb9991c..16b958c184 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -12,7 +12,6 @@ EXTRA_DIST = \ bt_everything.stderr.exp bt_everything.stdout.exp \ bt_everything.vgtest \ bug132146.vgtest bug132146.stderr.exp bug132146.stdout.exp \ - defcfaexpr.vgtest defcfaexpr.stderr.exp filter_defcfaexpr \ fxsave-amd64.vgtest fxsave-amd64.stdout.exp fxsave-amd64.stderr.exp \ int3-amd64.vgtest int3-amd64.stdout.exp int3-amd64.stderr.exp \ more_x87_fp.stderr.exp more_x87_fp.stdout.exp more_x87_fp.vgtest \ @@ -28,13 +27,6 @@ check_PROGRAMS = \ sse_memory \ xor-undef-amd64 -# DDD: these should be moved into amd64-linux/. -if ! VGCONF_OS_IS_DARWIN - check_PROGRAMS += \ - defcfaexpr \ - int3-amd64 -endif - AM_CFLAGS += @FLAG_M64@ AM_CXXFLAGS += @FLAG_M64@ AM_CCASFLAGS += @FLAG_M64@ @@ -43,4 +35,3 @@ more_x87_fp_CFLAGS = $(AM_CFLAGS) -O -ffast-math -mfpmath=387 \ -mfancy-math-387 more_x87_fp_LDADD = -lm -defcfaexpr_SOURCES = defcfaexpr.S -- 2.47.2