citrun

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

commit 4a8edf973b67cfa127afa01e69ccaabe3780b276
parent 4c9b4638024ae95876f5d3db94af9835c56a907a
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat, 20 Aug 2016 00:26:49 -0600

tt: add bash

Diffstat:
Att/bash.sh | 43+++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+), 0 deletions(-)

diff --git a/tt/bash.sh b/tt/bash.sh @@ -0,0 +1,43 @@ +# +# Check that Bash can be instrumented and still works after. +# +echo 1..5 +. test/package.sh "shells/bash" + +pkg_check_deps 2 +pkg_clean 3 +pkg_build 4 + +cat <<EOF > check.good +Summary: + 384 Calls to the rewrite tool + 347 Source files used as input + 96 Application link commands + 190 Rewrite parse warnings + 31 Rewrite parse errors + 318 Rewrite successes + 29 Rewrite failures + 295 Rewritten source compile successes + 23 Rewritten source compile failures + +Totals: + 165512 Lines of source code + 2698 Function definitions + 5519 If statements + 635 For loops + 309 While loops + 38 Do while loops + 138 Switch statements + 3057 Return statement values + 8254 Call expressions + 179490 Total statements + 18704 Binary operators + 549 Errors rewriting source +EOF +pkg_check 5 + +#$TEST_WRKDIST/bash & +#echo ok 5 - bash started +# +#sleep 1 +#$TEST_TOOLS/citrun-dump