citrun

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

commit e67f2f9a58d63c9b035fc3c6927792ee75764001
parent aa28fc83a4550e76466012a6f0ad0aecab857114
Author: kyle <kyle@0x30.net>
Date:   Sat, 26 Nov 2016 00:40:48 -0700

t: survive without '.' in PATH

Diffstat:
Mt/rt_header.t | 2+-
Mt/wrap_cmake.sh | 2+-
Mt/wrap_jam.sh | 2+-
Mt/wrap_make.sh | 2+-
Mt/wrap_ninja.sh | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/t/rt_header.t b/t/rt_header.t @@ -11,7 +11,7 @@ use t::tmpdir; my $tmp_dir = t::tmpdir->new(); t::program->new($tmp_dir); -my $ret = system("cd $tmp_dir && program 1"); +my $ret = system("cd $tmp_dir && ./program 1"); is $ret >> 8, 0, "is program exit code 0"; my @procfiles = glob("$ENV{CITRUN_PROCDIR}/program_*"); diff --git a/t/wrap_cmake.sh b/t/wrap_cmake.sh @@ -45,5 +45,5 @@ EOF strip_millis check.out ok "is citrun-check output identical" diff -u check.good check.out -ok "does compiled program run" program +ok "does compiled program run" ./program ok "is runtime shared memory file created" test -f procdir/program_* diff --git a/t/wrap_jam.sh b/t/wrap_jam.sh @@ -41,5 +41,5 @@ EOF strip_millis check.out ok "is citrun-check output identical" diff -u check.good check.out -ok "does compiled program run" program +ok "does compiled program run" ./program ok "is runtime shared memory file created" test -f procdir/program_* diff --git a/t/wrap_make.sh b/t/wrap_make.sh @@ -42,5 +42,5 @@ EOF strip_millis check.out ok "is citrun-check output identical" diff -u check.good check.out -ok "does compiled program run" program +ok "does compiled program run" ./program ok "is runtime shared memory file created" test -f procdir/program_* diff --git a/t/wrap_ninja.sh b/t/wrap_ninja.sh @@ -49,5 +49,5 @@ EOF strip_millis check.out ok "is citrun-check output identical" diff -u check.good check.out -ok "does compiled program run" program +ok "does compiled program run" ./program ok "is runtime shared memory file created" test -f procdir/program_*