citrun

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

commit dace35e883f232375efc2c8e9b71ba48333e1973
parent a2c3577fba3f68de0c3c5076a679e01d56a1e5f0
Author: Kyle Milz <kyle@0x30.net>
Date:   Mon, 28 Nov 2016 01:36:29 -0700

t/wrap_cmake: make more platform independent

Diffstat:
Mt/wrap_cmake.sh | 19++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/t/wrap_cmake.sh b/t/wrap_cmake.sh @@ -24,22 +24,23 @@ add_executable(program main.c) EOF ok "is cmake successful" citrun-wrap cmake . +find . -name citrun.log -print0 | xargs -0 rm + ok "is make (from cmake) successful" citrun-wrap make ok "is citrun-check successful" citrun-check -o check.out cat <<EOF > check.good Summary: - 3 Source files used as input - 3 Application link commands - 3 Rewrite successes - 3 Rewritten source compile successes + 1 Source files used as input + 1 Application link commands + 1 Rewrite successes + 1 Rewritten source compile successes Totals: - 1085 Lines of source code - 3 Function definitions - 3 Return statement values - 101 Total statements - 9 Binary operators + 6 Lines of source code + 1 Function definitions + 1 Return statement values + 3 Total statements EOF strip_millis check.out