commit 15e5a11a8fb94e2d82468ef7dd91856d4ca5cc82
parent 90071202f19f39aee7ba09d5503104bbd8a86cdf
Author: Kyle Milz <kyle@0x30.net>
Date: Fri, 13 Jan 2017 01:48:19 -0700
t: update for recent code changes
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/t/inst_fail.t b/t/inst_fail.t
@@ -3,6 +3,7 @@
#
use strict;
use warnings;
+
use t::utils;
plan tests => 2;
@@ -24,11 +25,12 @@ Compilers path = ''
Found source file ''
Modified command line is ''
Added clangtool argument ''
+clang: error: error reading ''
Rewriting failed.
EOF
my $out = clean_citrun_log(scalar $inst->stdout);
-eq_or_diff( $out, $out_good, 'is citrun_inst output identical' );
+eq_or_diff( $out, $out_good, 'is citrun_inst output identical', { context => 3} );
print $inst->stderr;
is( $? >> 8, 1, 'is citrun_inst exit code 1' );
diff --git a/t/inst_nosrc.t b/t/inst_nosrc.t
@@ -3,6 +3,7 @@
#
use strict;
use warnings;
+
use t::utils;
plan tests => 2;
@@ -16,6 +17,7 @@ Compilers path = ''
Found source file ''
Modified command line is ''
Added clangtool argument ''
+clang: error: error reading ''
Rewriting failed.
EOF