diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests-asn1c-compiler/check-parsing.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests-asn1c-compiler/check-parsing.sh b/tests/tests-asn1c-compiler/check-parsing.sh index 978b7229..9464adb5 100755 --- a/tests/tests-asn1c-compiler/check-parsing.sh +++ b/tests/tests-asn1c-compiler/check-parsing.sh @@ -33,7 +33,7 @@ for ref in ${top_srcdir}/tests/tests-asn1c-compiler/*.asn1.-*; do newversion=${template}.new LANG=C sed -e 's/^found in .*/found in .../' < "$ref" > "$oldversion" ec=0 - (${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" | LANG=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$? + (${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" 2>&1 | LANG=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$? if [ $? = 0 ]; then diff $diffArgs "$oldversion" "$newversion" || ec=$? fi @@ -43,7 +43,7 @@ for ref in ${top_srcdir}/tests/tests-asn1c-compiler/*.asn1.-*; do fi rm -f $oldversion $newversion if [ "$1" = "regenerate" ]; then - ${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" > "$ref" + ${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons -no-gen-OER -no-gen-PER "-$flags" "$src" > "$ref" 2>&1 fi done |