[svn:parrot] r43131 - trunk/runtime/parrot/library

fperrad at svn.parrot.org fperrad at svn.parrot.org
Thu Dec 17 10:27:36 UTC 2009


Author: fperrad
Date: Thu Dec 17 10:27:35 2009
New Revision: 43131
URL: https://trac.parrot.org/parrot/changeset/43131

Log:
[distutils] when parrot-tapir is available, use it instead of prove

Modified:
   trunk/runtime/parrot/library/distutils.pir

Modified: trunk/runtime/parrot/library/distutils.pir
==============================================================================
--- trunk/runtime/parrot/library/distutils.pir	Thu Dec 17 10:20:27 2009	(r43130)
+++ trunk/runtime/parrot/library/distutils.pir	Thu Dec 17 10:27:35 2009	(r43131)
@@ -1839,6 +1839,11 @@
     .param pmc kv :slurpy :named
     .local string cmd
     cmd = "prove"
+    $S0 = get_executable('parrot-tapir')
+    $I0 = file_exists($S0)
+    unless $I0 goto L0
+    cmd = $S0
+  L0:
     $I0 = exists kv['prove_exec']
     unless $I0 goto L1
     cmd .= " --exec="


More information about the parrot-commits mailing list