]> diplodocus.org Git - nmh/commitdiff
Skip inc/test-deb359167 on FreeBSD >= 10 because its valgrind
authorDavid Levine <levinedl@acm.org>
Sat, 7 Dec 2013 00:43:20 +0000 (18:43 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 7 Dec 2013 00:45:32 +0000 (18:45 -0600)
throws a strange error.  Code provided by Lyndon.

test/inc/test-deb359167

index 92f4c61..8d460dd 100755 (executable)
@@ -11,6 +11,14 @@ fi
 
 setup_test
 
 
 setup_test
 
+# valgrind throws a strange error on FreeBSD >= 10; skip the test
+# for now while we try to track down the underlying cause.
+if [ $(uname -s) == 'FreeBSD' ]; then
+  case $(uname -r) in
+    1?.*) test_skip 'valgrind fails on FreeBSD >= 10' ;;
+  esac
+fi
+
 require_prog valgrind
 
 THISDIR="$srcdir/test/inc"
 require_prog valgrind
 
 THISDIR="$srcdir/test/inc"