more granular PER encoding
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1207 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/examples/sample.source.MHEG5/Makefile b/examples/sample.source.MHEG5/Makefile
index 4a4f48f..db9e195 100644
--- a/examples/sample.source.MHEG5/Makefile
+++ b/examples/sample.source.MHEG5/Makefile
@@ -493,27 +493,27 @@
@if test -f ./sample-InterchangedObject-1.[db]er ; then \
for f in ./sample-InterchangedObject-*.[db]er; do \
echo "Recoding $$f into XER and back..."; \
- ./${TARGET} -iber -oxer $$f > ./.tmp.1.$$ || exit 2; \
- ./${TARGET} -ixer -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \
- diff ./.tmp.1.$$ ./.tmp.2.$$ || exit 2; \
- rm -f ./.tmp.[12].$$; \
+ ./${TARGET} -iber -oxer $$f > ./.tmp.1.$$$$ || exit 2; \
+ ./${TARGET} -ixer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \
+ diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \
+ rm -f ./.tmp.[12].$$$$; \
done; fi
@if test -f ./sample-InterchangedObject-1.xer ; then \
for f in ./sample-InterchangedObject-*.xer; do \
echo "Recoding $$f into DER and back..."; \
- ./${TARGET} -ixer -oder $$f > ./.tmp.1.$$ || exit 2; \
- ./${TARGET} -iber -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \
- diff $$f ./.tmp.2.$$ || exit 2; \
- rm -f ./.tmp.[12].$$; \
+ ./${TARGET} -ixer -oder $$f > ./.tmp.1.$$$$ || exit 2; \
+ ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \
+ diff $$f ./.tmp.2.$$$$ || exit 2; \
+ rm -f ./.tmp.[12].$$$$; \
done; fi
@if test -f ./sample-InterchangedObject-1.per ; then \
for f in ./sample-InterchangedObject-*.per; do \
echo "Recoding $$f into DER into XER and back..."; \
- ./${TARGET} -iper -oder $$f > ./.tmp.1.$$ || exit 2; \
- ./${TARGET} -ider -oxer ./.tmp.1.$$ > ./.tmp.2.$$ || exit 2; \
- ./${TARGET} -ixer -oper ./.tmp.2.$$ > ./.tmp.1.$$ || exit 2; \
- diff $$f ./.tmp.1.$$ || exit 2; \
- rm -f ./.tmp.[12].$$; \
+ ./${TARGET} -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \
+ ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \
+ ./${TARGET} -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$ || exit 2; \
+ diff $$f ./.tmp.1.$$$$ || exit 2; \
+ rm -f ./.tmp.[12].$$$$; \
done; fi
@echo ================
@echo All tests passed