citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 73cb3322b35d395ae213fe0f0416f6baa097ae59
parent 36d4fa975c850e31c85b922a819ac75fa9ce5198
Author: Kyle Milz <kyle@0x30.net>
Date:   Wed, 11 Jan 2017 00:35:30 -0700

t: sync tests with output change

Diffstat:
Mt/e2e_ansi.t | 4++--
Mt/e2e_intent.t | 4++--
Mt/e2e_link_multiple.t | 4++--
Mt/inst_basic_link.t | 4++--
Mt/inst_binop.t | 2+-
Mt/inst_dowhile.t | 2+-
Mt/inst_fail.t | 2+-
Mt/inst_for.t | 2+-
Mt/inst_funcdef.t | 2+-
Mt/inst_if.t | 2+-
Mt/inst_macro.t | 2+-
Mt/inst_nosrc.t | 2+-
Mt/inst_preprocess.t | 4++--
Mt/inst_return.t | 2+-
Mt/inst_srcext.t | 4++--
Mt/inst_switch.t | 2+-
Mt/inst_two_src.t | 4++--
Mt/inst_while.t | 2+-
Mt/wrap_cmake.t | 8++++----
Mt/wrap_devenv.t | 8++++----
Mt/wrap_jam.t | 8++++----
Mt/wrap_make.t | 8++++----
Mt/wrap_ninja.t | 8++++----
Mt/wrap_nmake.t | 8++++----
24 files changed, 49 insertions(+), 49 deletions(-)

diff --git a/t/e2e_ansi.t b/t/e2e_ansi.t @@ -22,8 +22,8 @@ is( $? >> 8, 0, 'is citrun_wrap cc exit code 0' ); my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Link detected, adding '' to command line. Modified command line is '' diff --git a/t/e2e_intent.t b/t/e2e_intent.t @@ -43,8 +43,8 @@ $log = clean_citrun_log( $log ); my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Link detected, adding '' to command line. Modified command line is '' diff --git a/t/e2e_link_multiple.t b/t/e2e_link_multiple.t @@ -37,8 +37,8 @@ $wrap->run( args => os_compiler() . 'main one.c two.c three.c', chdir => $wrap-> my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Found source file '' Found source file '' diff --git a/t/inst_basic_link.t b/t/inst_basic_link.t @@ -14,8 +14,8 @@ $wrap->run( args => os_compiler() . 'main main.c', chdir => $wrap->curdir ); my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Link detected, adding '' to command line. Modified command line is '' diff --git a/t/inst_binop.t b/t/inst_binop.t @@ -51,7 +51,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_dowhile.t b/t/inst_dowhile.t @@ -29,7 +29,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_fail.t b/t/inst_fail.t @@ -20,7 +20,7 @@ $inst->run( args => '-c bad.c', workdir => $inst->curdir ); my $out_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_for.t b/t/inst_for.t @@ -29,7 +29,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_funcdef.t b/t/inst_funcdef.t @@ -33,7 +33,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_if.t b/t/inst_if.t @@ -39,7 +39,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_macro.t b/t/inst_macro.t @@ -30,7 +30,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_nosrc.t b/t/inst_nosrc.t @@ -12,7 +12,7 @@ $inst->run( args => '-c doesnt_exist.c', workdir => $inst->curdir ); my $out_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_preprocess.t b/t/inst_preprocess.t @@ -14,7 +14,7 @@ $inst->write( 'prepro.c', $preproc ); # Test -E my $check_good = <<EOF ; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Preprocessor argument -E found Running as citrun_inst, not calling exec() EOF @@ -36,7 +36,7 @@ is( $? >> 8, 0, 'is citrun_inst exit code 0' ); # Test -MM $check_good = <<EOF ; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Preprocessor argument -MM found Running as citrun_inst, not calling exec() EOF diff --git a/t/inst_return.t b/t/inst_return.t @@ -39,7 +39,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_srcext.t b/t/inst_srcext.t @@ -13,7 +13,7 @@ my $inst = Test::Cmd->new( prog => 'citrun_inst', workdir => '' ); my $out_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -38,7 +38,7 @@ for (@supported_exts) { $out_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Modified command line is '' No source files found on command line. Running as citrun_inst, not calling exec() diff --git a/t/inst_switch.t b/t/inst_switch.t @@ -43,7 +43,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/inst_two_src.t b/t/inst_two_src.t @@ -21,8 +21,8 @@ $wrap->run( args => os_compiler() . 'main main.c other.c', chdir => $wrap->curdi my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Found source file '' Link detected, adding '' to command line. diff --git a/t/inst_while.t b/t/inst_while.t @@ -31,7 +31,7 @@ EOF my $check_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' +Compilers path = '' Found source file '' Modified command line is '' Added clangtool argument '' diff --git a/t/wrap_cmake.t b/t/wrap_cmake.t @@ -23,8 +23,8 @@ EOF # Log file after make is ran on Makefile generated by CMake. my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -39,8 +39,8 @@ Forked compiler '' Rewritten source compile successful Restored '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Link detected, adding '' to command line. Modified command line is '' No source files found on command line. diff --git a/t/wrap_devenv.t b/t/wrap_devenv.t @@ -51,14 +51,14 @@ print $wrap->stdout; # XXX: devenv uses response files so we don't detect any source files. my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Modified command line is '' No source files found on command line. Forked compiler '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Modified command line is '' No source files found on command line. Forked compiler '' diff --git a/t/wrap_jam.t b/t/wrap_jam.t @@ -27,8 +27,8 @@ is( $? >> 8, 0, 'is citrun_wrap jam exit code 0' ); my $citrun_log; my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -43,8 +43,8 @@ Forked compiler '' Rewritten source compile successful Restored '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Link detected, adding '' to command line. Modified command line is '' No source files found on command line. diff --git a/t/wrap_make.t b/t/wrap_make.t @@ -28,8 +28,8 @@ is( $? >> 8, 0, 'is citrun_wrap make exit code 0' ); my $citrun_log; my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -44,8 +44,8 @@ Forked compiler '' Rewritten source compile successful Restored '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Link detected, adding '' to command line. Modified command line is '' No source files found on command line. diff --git a/t/wrap_ninja.t b/t/wrap_ninja.t @@ -34,8 +34,8 @@ is( $? >> 8, 0, 'is citrun_wrap ninja exit code 0' ); my $citrun_log; my $log_good = <<EOF; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -50,8 +50,8 @@ Forked compiler '' Rewritten source compile successful Restored '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Link detected, adding '' to command line. Modified command line is '' No source files found on command line. diff --git a/t/wrap_nmake.t b/t/wrap_nmake.t @@ -21,8 +21,8 @@ is( $? >> 8, 0, 'is citrun_wrap nmake exit code 0' ); my $log_good = <<EOF ; >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Modified command line is '' Added clangtool argument '' @@ -37,8 +37,8 @@ Forked compiler '' Rewritten source compile successful Restored '' >> citrun_inst -CITRUN_COMPILERS = '' -PATH='' +Compilers path = '' +PATH = '' Found source file '' Link detected, adding '' to command line. Modified command line is ''