Commit 75b7467a authored by Mouse's avatar Mouse

Restoring what worked before, plus adding fixes from @velichkov

parent f49121bf
...@@ -32,9 +32,8 @@ for ref in ${top_srcdir}/tests/tests-asn1c-compiler/*.asn1.-*; do ...@@ -32,9 +32,8 @@ for ref in ${top_srcdir}/tests/tests-asn1c-compiler/*.asn1.-*; do
oldversion=${template}.old oldversion=${template}.old
newversion=${template}.new newversion=${template}.new
PROCESSING="$ref (from $src)" PROCESSING="$ref (from $src)"
LC_ALL=C sed -e 's/^found in .*/found in .../' < "$ref" > "$oldversion" LANG=C LC_ALL=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 LC_ALL=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$?
(${top_builddir}/asn1c/asn1c -S ${top_srcdir}/skeletons "-$flags" "$src" | LC_ALL=C sed -e 's/^found in .*/found in .../' > "$newversion") || ec=$?
if [ $? = 0 ]; then if [ $? = 0 ]; then
diff $diffArgs "$oldversion" "$newversion" || ec=$? diff $diffArgs "$oldversion" "$newversion" || ec=$?
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment