From 1575dcd134f4fae7255787293f4988bbd043de95 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 3 Jan 2016 14:49:55 +0100 Subject: gnu: grep: Skip timing-sensitive test. This avoids failures on loaded machines as seen at . * gnu/packages/patches/grep-timing-sensitive-test.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/base.scm (grep): Use it. --- gnu/packages/patches/grep-timing-sensitive-test.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gnu/packages/patches/grep-timing-sensitive-test.patch (limited to 'gnu/packages/patches/grep-timing-sensitive-test.patch') diff --git a/gnu/packages/patches/grep-timing-sensitive-test.patch b/gnu/packages/patches/grep-timing-sensitive-test.patch new file mode 100644 index 0000000000..8cfcc848bc --- /dev/null +++ b/gnu/packages/patches/grep-timing-sensitive-test.patch @@ -0,0 +1,15 @@ +Skip this performance regression test. + +The test measures things on the order of 20ms. On a loaded machine, we +have seen enough variation that the test would fail. + +--- grep-2.22/tests/long-pattern-perf 2016-01-03 12:52:38.491575007 +0100 ++++ grep-2.22/tests/long-pattern-perf 2016-01-03 12:53:39.768464687 +0100 +@@ -16,6 +16,7 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + ++exit 77 + . "${srcdir=.}/init.sh"; path_prepend_ ../src + + fail=0 -- cgit v1.2.3