[svn:parrot] r44648 - branches/rm_cflags/t/steps/auto
coke at svn.parrot.org
coke at svn.parrot.org
Fri Mar 5 15:05:45 UTC 2010
Author: coke
Date: Fri Mar 5 15:05:42 2010
New Revision: 44648
URL: https://trac.parrot.org/parrot/changeset/44648
Log:
Make this test pass on g++, add note about how fragile this test is.
Modified:
branches/rm_cflags/t/steps/auto/warnings-01.t
Modified: branches/rm_cflags/t/steps/auto/warnings-01.t
==============================================================================
--- branches/rm_cflags/t/steps/auto/warnings-01.t Fri Mar 5 15:05:06 2010 (r44647)
+++ branches/rm_cflags/t/steps/auto/warnings-01.t Fri Mar 5 15:05:42 2010 (r44648)
@@ -75,8 +75,12 @@
$conf->data->set( 'g++' => undef );
$conf->options->set( cage => 1 );
ok($step->runstep($conf), "runstep() returned true value");
+
+# This test is fragile, as it depends on the current state of --cage,
+# which changes over time, and on the compiler, which may not support
+# this option.
like($conf->data->get( 'ccwarn' ),
- qr/-std=c89/,
+ qr/-Wunreachable-code/,
"'cage' warning set as expected"
);
More information about the parrot-commits
mailing list