diff options
author | Joseph Langley <mightyjo@gmail.com> | 2021-06-05 01:29:41 -0400 |
---|---|---|
committer | Joseph Langley <mightyjo@gmail.com> | 2021-06-05 01:29:41 -0400 |
commit | 0d5d2dd4afdfe4f4cfb10556ffda540a34b92bd0 (patch) | |
tree | 3fd4f0ec442664c0262b4cfcf27f53413cf407fa | |
parent | 5772bb456e50299421cbd0da38d20ace9699d1e7 (diff) | |
download | flex-git-0d5d2dd4afdfe4f4cfb10556ffda540a34b92bd0.tar.gz |
chore(test): Clean up debugging in tests
-rwxr-xr-x | tests/ruleset.sh | 1 | ||||
-rwxr-xr-x | tests/test-yydecl-gen.sh | 1 | ||||
-rwxr-xr-x | tests/testmaker.sh | 5 |
3 files changed, 1 insertions, 6 deletions
diff --git a/tests/ruleset.sh b/tests/ruleset.sh index f4e6d2e..3175d8f 100755 --- a/tests/ruleset.sh +++ b/tests/ruleset.sh @@ -6,7 +6,6 @@ # would be natural to use. Output is written to standard output for # inclusion in a Makefile.am, typically by redirecting the output and # then an automake include directive. - set -eu RULESET_TESTS="" diff --git a/tests/test-yydecl-gen.sh b/tests/test-yydecl-gen.sh index a2624d8..f97a61c 100755 --- a/tests/test-yydecl-gen.sh +++ b/tests/test-yydecl-gen.sh @@ -6,7 +6,6 @@ FLEX="$2" cat <<EOF_OUTER #! /bin/sh # Test %yydecl option of flex on ${backend} backend. -echo 'set -eu' set -eu trap 'rm /tmp/td\$\$' EXIT HUP INT QUIT TERM diff --git a/tests/testmaker.sh b/tests/testmaker.sh index c291d08..6e2dc63 100755 --- a/tests/testmaker.sh +++ b/tests/testmaker.sh @@ -9,7 +9,6 @@ # # To add a new back end named "foo", append "|foo" to the # third case arm marked "# Add new back ends on this line". -echo 'set -eu' set -eu DEBUG=0 @@ -60,8 +59,6 @@ backend=nr serialization= verification= -echo "stem: ${stem}" - for part in "$@"; do case ${part} in nr) backend=nr; ;; @@ -117,7 +114,7 @@ m4def() { if [ "${outdev}" != /dev/stdout ] && [ "${TEXTFILES}" = "1" ] then if [ ! -f "${stem}.txt" ] ; then - echo "Overwriting ${stem}.txt" + echo "Overwriting ${SRCDIR}/${stem}.txt" fi sed <"${SRCDIR}/${stem}.rules" -e "1,/###/d" >"${SRCDIR}/${stem}.txt" fi |