guix/gnu/packages/patches/grep-timing-sensitive-test.patch
Ludovic Courtès 1575dcd134 gnu: grep: Skip timing-sensitive test.
This avoids failures on loaded machines as seen
at <http://hydra.gnu.org/build/906900/log/raw>.

* 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.
2016-01-03 14:50:29 +01:00

15 lines
542 B
Diff

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 <http://www.gnu.org/licenses/>.
+exit 77
. "${srcdir=.}/init.sh"; path_prepend_ ../src
fail=0