citrun

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

commit 7bba9b002350423aba0791cc90412c150f670e0f
parent b665966838f1c941f8c7dba75458137333fb8e91
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat, 26 Nov 2016 12:34:48 -0700

t/inst_fail: don't test error message

Diffstat:
Mt/inst_fail.sh | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/t/inst_fail.sh b/t/inst_fail.sh @@ -11,13 +11,8 @@ enter_tmpdir echo "int main(void) { return 0; " > bad.c -output_good="1 error generated. -Error while processing $tmpdir/bad.c. -bad.c: In function 'main': -bad.c:1: error: expected declaration or statement at end of input" - -ok_program "wrapped failing native compile" 1 "$output_good" \ - citrun-wrap cc -c bad.c +citrun-wrap cc -c bad.c +ok "is citrun-wrap exit code 1" test $? -eq 1 cat <<EOF > check.good Summary: