citrun

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

commit 4c9b4638024ae95876f5d3db94af9835c56a907a
parent 8c7d914c4a0d8cc48668173b7b94e00a93b3cd0d
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat, 20 Aug 2016 00:24:06 -0600

tt: get nvi passing

Diffstat:
Att/nvi.sh | 38++++++++++++++++++++++++++++++++++++++
Dtt/nvi.t | 38--------------------------------------
2 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/tt/nvi.sh b/tt/nvi.sh @@ -0,0 +1,38 @@ +# +# Tests that nvi works with C It Run. +# +echo 1..6 +. test/package.sh "editors/nvi" + +pkg_check_deps 2 +pkg_clean 3 +pkg_build 4 + +cat <<EOF > check.good +Summary: + 116 Calls to the rewrite tool + 115 Source files used as input + 2 Application link commands + 32 Rewrite parse warnings + 115 Rewrite successes + 115 Rewritten source compile successes + +Totals: + 47830 Lines of source code + 658 Function definitions + 1711 If statements + 176 For loops + 33 While loops + 6 Do while loops + 100 Switch statements + 979 Return statement values + 1646 Call expressions + 49384 Total statements + 4008 Binary operators + 353 Errors rewriting source +EOF +pkg_check 5 + +# $TEST_WRKDIST/build/nvi + +pkg_clean 6 diff --git a/tt/nvi.t b/tt/nvi.t @@ -1,38 +0,0 @@ -#!/bin/sh -e -# -# Tests that nvi works with C It Run. -# -echo 1..4 -. test/package.sh - -pkg_instrument "editors/nvi" - -cat <<EOF > check.good -Summary: - 116 Calls to the rewrite tool - 115 Source files used as input - 2 Application link commands - 32 Rewrite parse warnings - 115 Rewrite successes - 115 Rewritten source compile successes - -Totals: - 47830 Lines of source code - 2 Functions called 'main' - 658 Function definitions - 1711 If statements - 176 For loops - 33 While loops - 6 Do while loops - 100 Switch statements - 979 Return statement values - 1646 Call expressions - 49384 Total statements - 4008 Binary operators - 353 Errors rewriting source -EOF -pkg_check 4 - -# $TEST_WRKDIST/build/nvi - -pkg_clean