]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move all the 'scalar' (syscall-arg) tests into x86/. In fact they are
authorJulian Seward <jseward@acm.org>
Wed, 4 May 2005 13:53:00 +0000 (13:53 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 4 May 2005 13:53:00 +0000 (13:53 +0000)
really x86-linux specific, but fixing it all properly will have to
wait for another day.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3615

19 files changed:
memcheck/tests/Makefile.am
memcheck/tests/x86/Makefile.am
memcheck/tests/x86/scalar.c [moved from memcheck/tests/scalar.c with 99% similarity]
memcheck/tests/x86/scalar.h [moved from memcheck/tests/scalar.h with 93% similarity]
memcheck/tests/x86/scalar.stderr.exp [moved from memcheck/tests/scalar.stderr.exp with 100% similarity]
memcheck/tests/x86/scalar.vgtest [moved from memcheck/tests/scalar.vgtest with 100% similarity]
memcheck/tests/x86/scalar_exit_group.c [moved from memcheck/tests/scalar_exit_group.c with 100% similarity]
memcheck/tests/x86/scalar_exit_group.stderr.exp [moved from memcheck/tests/scalar_exit_group.stderr.exp with 100% similarity]
memcheck/tests/x86/scalar_exit_group.vgtest [moved from memcheck/tests/scalar_exit_group.vgtest with 100% similarity]
memcheck/tests/x86/scalar_fork.c [moved from memcheck/tests/scalar_fork.c with 100% similarity]
memcheck/tests/x86/scalar_fork.stderr.exp [moved from memcheck/tests/scalar_fork.stderr.exp with 100% similarity]
memcheck/tests/x86/scalar_fork.vgtest [moved from memcheck/tests/scalar_fork.vgtest with 100% similarity]
memcheck/tests/x86/scalar_supp.c [moved from memcheck/tests/scalar_supp.c with 100% similarity]
memcheck/tests/x86/scalar_supp.stderr.exp [moved from memcheck/tests/scalar_supp.stderr.exp with 100% similarity]
memcheck/tests/x86/scalar_supp.supp [moved from memcheck/tests/scalar_supp.supp with 100% similarity]
memcheck/tests/x86/scalar_supp.vgtest [moved from memcheck/tests/scalar_supp.vgtest with 100% similarity]
memcheck/tests/x86/scalar_vfork.c [moved from memcheck/tests/scalar_vfork.c with 100% similarity]
memcheck/tests/x86/scalar_vfork.stderr.exp [moved from memcheck/tests/scalar_vfork.stderr.exp with 100% similarity]
memcheck/tests/x86/scalar_vfork.vgtest [moved from memcheck/tests/scalar_vfork.vgtest with 100% similarity]

index 20947b53d2cdae01e8f785fd5687a16ae597a507..a96f3b7f1f281f9427d344b5f10712953de598a5 100644 (file)
@@ -4,8 +4,6 @@ DIST_SUBDIRS = ${VG_ARCH_ALL} .
 noinst_SCRIPTS = filter_allocs filter_leak_check_size \
                 filter_stderr filter_stderr_backtrace
 
-noinst_HEADERS = scalar.h
-
 EXTRA_DIST = $(noinst_SCRIPTS) \
        addressable.stderr.exp addressable.stdout.exp addressable.vgtest \
        badaddrvalue.stderr.exp \
@@ -63,11 +61,6 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        realloc1.stderr.exp realloc1.vgtest \
        realloc2.stderr.exp realloc2.vgtest \
        realloc3.stderr.exp realloc3.vgtest \
-       scalar.stderr.exp scalar.vgtest \
-       scalar_fork.stderr.exp scalar_fork.vgtest \
-       scalar_exit_group.stderr.exp scalar_exit_group.vgtest \
-       scalar_supp.stderr.exp scalar_supp.vgtest scalar_supp.supp \
-       scalar_vfork.stderr.exp scalar_vfork.vgtest \
        sigaltstack.stderr.exp sigaltstack.vgtest \
        signal2.stderr.exp signal2.stdout.exp signal2.vgtest \
        sigprocmask.stderr.exp sigprocmask.vgtest \
@@ -101,7 +94,6 @@ check_PROGRAMS = \
        pointer-trace \
        post-syscall \
        realloc1 realloc2 realloc3 \
-       scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork \
        sigaltstack signal2 sigprocmask \
        str_tester supp1 supp2 suppfree \
        trivialleak weirdioctl  \
@@ -167,11 +159,6 @@ post_syscall_SOURCES       = post-syscall.c
 realloc1_SOURCES       = realloc1.c
 realloc2_SOURCES       = realloc2.c
 realloc3_SOURCES       = realloc3.c
-scalar_SOURCES                 = scalar.c
-scalar_exit_group_SOURCES      = scalar_exit_group.c
-scalar_fork_SOURCES    = scalar_fork.c
-scalar_supp_SOURCES    = scalar_supp.c
-scalar_vfork_SOURCES   = scalar_vfork.c
 signal2_SOURCES        = signal2.c
 sigprocmask_SOURCES    = sigprocmask.c
 supp1_SOURCES          = supp.c
index 3a1e688cb1eae11e4394301cf23f4a75f6cb75c1..3524d979666cf6e7ae894d1b799d0b998b1a7b67 100644 (file)
@@ -1,12 +1,20 @@
 noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical
 
+noinst_HEADERS = scalar.h
+
 EXTRA_DIST = $(noinst_SCRIPTS) \
        fpeflags.stderr.exp fpeflags.vgtest \
        pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
+       scalar.stderr.exp scalar.vgtest \
+       scalar_fork.stderr.exp scalar_fork.vgtest \
+       scalar_exit_group.stderr.exp scalar_exit_group.vgtest \
+       scalar_supp.stderr.exp scalar_supp.vgtest scalar_supp.supp \
+       scalar_vfork.stderr.exp scalar_vfork.vgtest \
        tronical.stderr.exp tronical.vgtest
 
 check_PROGRAMS = \
-       fpeflags pushfpopf tronical
+       scalar_exit_group scalar_fork scalar_supp scalar_vfork \
+       fpeflags pushfpopf scalar tronical
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
 AM_CFLAGS   = $(WERROR) -Winline -Wall -Wshadow -g 
@@ -16,4 +24,9 @@ fpeflags_SOURCES      = fpeflags.c
 # must be built with these flags -- bug only occurred with them
 fpeflags_CFLAGS                = $(AM_CFLAGS) -march=i686
 pushfpopf_SOURCES      = pushfpopf_c.c pushfpopf_s.s
+scalar_SOURCES                 = scalar.c
+scalar_exit_group_SOURCES      = scalar_exit_group.c
+scalar_fork_SOURCES    = scalar_fork.c
+scalar_supp_SOURCES    = scalar_supp.c
+scalar_vfork_SOURCES   = scalar_vfork.c
 tronical_SOURCES       = tronical.S
similarity index 99%
rename from memcheck/tests/scalar.c
rename to memcheck/tests/x86/scalar.c
index cbd1313148ec7535f6eb6fd4443a3a8430dd13d9..b5e8e734f7f2cbeedc6cf9cddc62dcc1106c1830 100644 (file)
@@ -1,4 +1,4 @@
-#include "../memcheck.h"
+#include "../../memcheck.h"
 #include "scalar.h"
 
 // Here we are trying to trigger every syscall error (scalar errors and
similarity index 93%
rename from memcheck/tests/scalar.h
rename to memcheck/tests/x86/scalar.h
index be1246506f8596d9dd02ae5c7f719abc8ea536f9..f9e1c99aaafd3cdfb180646c35d74f5e32e97756 100644 (file)
@@ -1,5 +1,4 @@
-// XXX: x86-specific, so these should be in x86/, or something
-#include "../../coregrind/x86-linux/vki_unistd.h"
+#include "../../../coregrind/x86-linux/vki_unistd.h"
 
 #include <assert.h>
 #include <errno.h>