SF.net SVN: gar:[22202] csw/mgar/pkg/jq/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Oct 13 15:24:09 CEST 2013


Revision: 22202
          http://gar.svn.sourceforge.net/gar/?rev=22202&view=rev
Author:   chninkel
Date:     2013-10-13 13:24:08 +0000 (Sun, 13 Oct 2013)
Log Message:
-----------
jq/trunk: remove usage in valgrind in test suite

Modified Paths:
--------------
    csw/mgar/pkg/jq/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/jq/trunk/files/0001-remove-valgrind-usage-in-tests.patch

Modified: csw/mgar/pkg/jq/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jq/trunk/Makefile	2013-10-13 13:23:44 UTC (rev 22201)
+++ csw/mgar/pkg/jq/trunk/Makefile	2013-10-13 13:24:08 UTC (rev 22202)
@@ -28,6 +28,10 @@
 MASTER_SITES = http://stedolan.github.io/jq/download/source/
 DISTFILES  = $(DISTNAME).tar.gz
 
+# The jq test suite uses valgrind to check for memory leaks
+# but we don't have it on Solaris
+PATCHFILES += 0001-remove-valgrind-usage-in-tests.patch
+
 ##### Build and installation information #####
 
 GARCOMPILER = GNU

Added: csw/mgar/pkg/jq/trunk/files/0001-remove-valgrind-usage-in-tests.patch
===================================================================
--- csw/mgar/pkg/jq/trunk/files/0001-remove-valgrind-usage-in-tests.patch	                        (rev 0)
+++ csw/mgar/pkg/jq/trunk/files/0001-remove-valgrind-usage-in-tests.patch	2013-10-13 13:24:08 UTC (rev 22202)
@@ -0,0 +1,22 @@
+From 6844b92414bfc868430485a64606411f8db5d6af Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Sun, 13 Oct 2013 17:19:50 +0200
+Subject: [PATCH] remove valgrind usage in tests
+
+---
+ tests/run | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/run b/tests/run
+index a4b5b32..42ecf58 100755
+--- a/tests/run
++++ b/tests/run
+@@ -1,3 +1,3 @@
+ #!/bin/sh
+ 
+-cat $@ | valgrind --error-exitcode=1 -q --leak-check=full ./jq --run-tests
+\ No newline at end of file
++cat $@ | ./jq --run-tests
+-- 
+1.8.3.4
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list