Permalink
Browse files

Test previously unexercised branches.

git-svn-id: https://svn.parrot.org/parrot/branches/detect_llvm@41795 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 3983f74 commit 355d3c20556ed343d03c1889e4717ee3549ca8a3 jkeenan committed Oct 10, 2009
Showing with 18 additions and 1 deletion.
  1. +18 −1 t/steps/auto/llvm-01.t
View
@@ -6,7 +6,7 @@
use strict;
use warnings;
use File::Temp qw( tempdir );
-use Test::More tests => 65;
+use Test::More tests => 69;
use Carp;
use lib qw( lib t/configure/testlib );
use_ok('config::init::defaults');
@@ -236,6 +236,23 @@ like(
);
##### 4 methods #####
+$verbose = 0;
+
+$step->set_result( undef );
+$step->_handle_failure_to_compile_into_bitcode( $conf, $verbose );
+is( $step->result(), 'no', "Got expected result" );
+
+$step->set_result( undef );
+$step->_handle_failure_to_execute_bitcode( $conf, $verbose );
+is( $step->result(), 'no', "Got expected result" );
+
+$step->set_result( undef );
+$step->_handle_failure_to_compile_to_assembly( $conf, $verbose );
+is( $step->result(), 'no', "Got expected result" );
+
+$step->set_result( undef );
+$step->_handle_failure_to_assemble_assembly( $conf, $verbose );
+is( $step->result(), 'no', "Got expected result" );
$verbose = 1;
capture(

0 comments on commit 355d3c2

Please sign in to comment.