]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move with-space to linux/, because it's hard to replicate on Darwin.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 17 Apr 2009 06:52:10 +0000 (06:52 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 17 Apr 2009 06:52:10 +0000 (06:52 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9569

memcheck/tests/Makefile.am
memcheck/tests/linux/Makefile.am
memcheck/tests/linux/with-space.stderr.exp [moved from memcheck/tests/with-space.stderr.exp with 100% similarity]
memcheck/tests/linux/with-space.stdout.exp [moved from memcheck/tests/with-space.stdout.exp with 100% similarity]
memcheck/tests/linux/with-space.vgtest [new file with mode: 0644]
memcheck/tests/with-space.vgtest [deleted file]

index 1d2e9a62cab88c9a3283e5fe6c2fe07ac3750ba1..2962f8f1efc534d1f0509e95f312bc2003ce2c70 100644 (file)
@@ -160,7 +160,6 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \
        vcpu_fnfns.stdout.exp vcpu_fnfns.stdout.exp-glibc28-amd64 \
        vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \
-       with-space.stderr.exp with-space.stdout.exp with-space.vgtest \
        wrap1.vgtest wrap1.stdout.exp wrap1.stderr.exp \
        wrap2.vgtest wrap2.stdout.exp wrap2.stderr.exp \
        wrap3.vgtest wrap3.stdout.exp wrap3.stderr.exp \
index 4124c855c8302c7d9c952fca3fa8acee373ced93..81a2c9bd494b5be480dde56f2833a556ad702006 100644 (file)
@@ -7,7 +7,8 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
        brk.stderr.exp brk.vgtest \
        capget capget.stderr.exp \
        stack_switch.stderr.exp stack_switch.vgtest \
-       timerfd-syscall timerfd-syscall.stderr.exp
+       timerfd-syscall timerfd-syscall.stderr.exp \
+       with-space.stderr.exp with-space.stdout.exp with-space.vgtest
 
 check_PROGRAMS = \
        brk \
diff --git a/memcheck/tests/linux/with-space.vgtest b/memcheck/tests/linux/with-space.vgtest
new file mode 100644 (file)
index 0000000..f59ba2f
--- /dev/null
@@ -0,0 +1,14 @@
+# Use the "prereq" command to copy manuel1 to a filename containing a space.
+# This used to not work properly, because the debug info would not be read
+# correctly for filenames containing spaces (bug #88678).
+#
+# Nb: we only run this test on Linux.  This is because on Darwin you can't
+# easily rename an executable with a .dSYM -- the original executable name
+# gets baked into the .dSYM, so renaming the .dSYM as well isn't enough, you
+# have to modify the contents of the .dSYM.  Another idea would be to avoid
+# the renaming in the first place by just using 'with space' as the
+# filename, but automake doesn't seem to like files containing spaces.
+prereq: cp ../manuel1 'with space'
+prog: 'with space'
+vgopts: -q
+cleanup: rm 'with space'
diff --git a/memcheck/tests/with-space.vgtest b/memcheck/tests/with-space.vgtest
deleted file mode 100644 (file)
index b7ffee5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-# Use the "prereq" command to copy manuel1 to a filename containing a space.
-# This used to not work properly, because the debug info would not be read
-# correctly for filenames containing spaces (bug #88678).
-prereq: cp manuel1 'with space'
-prog: 'with space'
-vgopts: -q
-cleanup: rm 'with space'