[svn:parrot] r39489 - trunk/t/compilers/imcc/syn

chromatic at svn.parrot.org chromatic at svn.parrot.org
Wed Jun 10 06:36:33 UTC 2009


Author: chromatic
Date: Wed Jun 10 06:36:32 2009
New Revision: 39489
URL: https://trac.parrot.org/parrot/changeset/39489

Log:
[t] Fixed an uninitialized value warning in TODO test.

Modified:
   trunk/t/compilers/imcc/syn/regressions.t

Modified: trunk/t/compilers/imcc/syn/regressions.t
==============================================================================
--- trunk/t/compilers/imcc/syn/regressions.t	Wed Jun 10 06:25:07 2009	(r39488)
+++ trunk/t/compilers/imcc/syn/regressions.t	Wed Jun 10 06:36:32 2009	(r39489)
@@ -179,7 +179,8 @@
 
 TODO: {
     local $TODO = 'Broken with CGP'
-        if $ENV{TEST_PROG_ARGS} =~ /--run-pbc/;
+        if defined $ENV{TEST_PROG_ARGS}
+        &&         $ENV{TEST_PROG_ARGS} =~ /--run-pbc/;
 
 pir_error_output_like( <<'CODE', <<'OUT', 'die in immediate, TT #629');
 .sub 'foo' :immediate


More information about the parrot-commits mailing list