From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giogi-0000EM-C4 for guix-patches@gnu.org; Sun, 13 Jan 2019 17:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giogh-0003JG-Bz for guix-patches@gnu.org; Sun, 13 Jan 2019 17:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58894) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giogg-0003Il-NM for guix-patches@gnu.org; Sun, 13 Jan 2019 17:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1giogg-0001WK-Cv for guix-patches@gnu.org; Sun, 13 Jan 2019 17:57:02 -0500 Subject: [bug#34056] [PATCH] core-updates -- gnu: python2: Fix test flags. Resent-Message-ID: References: <20190113071850.14337-1-ericbavier@centurylink.net> From: Christopher Baines In-reply-to: <20190113071850.14337-1-ericbavier@centurylink.net> Date: Sun, 13 Jan 2019 22:56:27 +0000 Message-ID: <8736pwjhes.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: ericbavier@centurylink.net Cc: 34056@debbugs.gnu.org --=-=-= Content-Type: text/plain ericbavier@centurylink.net writes: > From: Eric Bavier > > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' -> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks > which is not compatible with the -j for parallelism. > --- > gnu/packages/python.scm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 9b43f465cc..dffded738d 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -194,7 +194,7 @@ > (assoc-ref %outputs "out") "/lib")) > ;; With no -j argument tests use all available cpus, so provide one. > #:make-flags > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count))) > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count))) > > #:modules ((ice-9 ftw) (ice-9 match) > (guix build utils) (guix build gnu-build-system)) Hey Eric, I've also been looking at some Python 2 things on core-updates today, trying to get the linkchecker package building again. I've just pushed a slightly different patch, but to this effect to core-updates, and only just seen this message, sorry about that. Thanks for looking at it though, this approach is probably neater, as I used substitute* instead. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlw7whtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdZdRAAlZYtgZqkOY1Mla83DlAYANxJrPjKgszdz9iTmNoA3Acs7QRGfRdaV975 ODyxoHx/eP7wEdK6d5ueOkkgOyOYlt4t3G5uUHw6BZtLJcPsfBKJfpMTk4NcL5Dt 7gp5gbNprHuwb7Djjk5Ew/7luMeLaZwkLZIZtNjdesoVWbKdRNrE5aiTvobvvhVA 6u1FKur4F6PKI3vhiashZKvGYemyKj91JkGwU5tWLlkfKz0P9Vd2DxkYzO5GcRv/ B4AOCGeGAmI+IlfjrEQuXIQjkxsWfVSTP2WDwRKX3EUGhben+YuxnKJrXxTUe1VW HzuNQZRp4qF1xM7E9324oWeACVZGLB0Q0lgV7s+6LWHFKQ5I3MaBHbvTIaApz94Y klVojzzU8OS+PFMz9fj0GCas+wpiaIXDwiKFiRy7twjTUITqnKWDj7gRFGCxeiAD CUEeoBO4iykLbpYYwC/tRCS09cfDeFJHm1MsRYdxr3TNUHLjWNLX15Kte6zlrnsS eiC4sNwvh3ZYAtFoE4VDmhK54J9Di+ChjvGdCd89KVK/REBVRMuArqiCz72PuDPa Ijdy3zwijL0sIrPtxDy6r38tERrA6HtmYlXr8r4edk0IOiNI7rblgF2SmqPpDFLr gPuDWsl5mwKwKn40ZYdIKNVV4Dt0PhYHTbRHSjji21mahD6Tb7Y= =KBCn -----END PGP SIGNATURE----- --=-=-=--