[svn:parrot] r43466 - branches/libjit_framebuilder2/t/pmc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Fri Jan 15 04:47:44 UTC 2010


Author: plobsing
Date: Fri Jan 15 04:47:43 2010
New Revision: 43466
URL: https://trac.parrot.org/parrot/changeset/43466

Log:
dedup tested NCI signatures

Modified:
   branches/libjit_framebuilder2/t/pmc/nci.t

Modified: branches/libjit_framebuilder2/t/pmc/nci.t
==============================================================================
--- branches/libjit_framebuilder2/t/pmc/nci.t	Fri Jan 15 04:27:14 2010	(r43465)
+++ branches/libjit_framebuilder2/t/pmc/nci.t	Fri Jan 15 04:47:43 2010	(r43466)
@@ -10,8 +10,9 @@
 
 my @nci_sigs;
 BEGIN {
+    my %seen;
     @nci_sigs =
-        grep {$_}
+        grep {$_ and not $seen{$_}++}
         map {chomp; s/^\s*//; s/\s*$//; s/#.*$//; $_}
         split /\n/, Parrot::BuildUtil::slurp_file('src/call_list.txt');
 }


More information about the parrot-commits mailing list