about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/pwrite_wrap.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pwrite_wrap.rb b/test/pwrite_wrap.rb
index 34d342a..d3cde3e 100644
--- a/test/pwrite_wrap.rb
+++ b/test/pwrite_wrap.rb
@@ -133,4 +133,7 @@ class TestPwriteWrap < Test::Unit::TestCase
     $stderr.write(@err.read) if $DEBUG
     assert status.success?, status.inspect
   end
-end if File.exist?(TEST_PROG)
+
+# this test is horribly slow under valgrind, and we probably don't need
+# valgrind, here...
+end if File.exist?(TEST_PROG) && ! ENV["VALGRIND"]