aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.RRC
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-09-17 08:26:41 +0000
committerLev Walkin <vlm@lionet.info>2006-09-17 08:26:41 +0000
commit87d07d6d3643a88dd85dab22b4dbda9fea2770a2 (patch)
treecd59c3be0d516e27a984bb96e8db8fbd2f056271 /examples/sample.source.RRC
parente1baa4d05ca17136b83297caffeb892291349d92 (diff)
more testing
Diffstat (limited to 'examples/sample.source.RRC')
-rw-r--r--examples/sample.source.RRC/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/sample.source.RRC/Makefile b/examples/sample.source.RRC/Makefile
index 717e7342..862f2cac 100644
--- a/examples/sample.source.RRC/Makefile
+++ b/examples/sample.source.RRC/Makefile
@@ -4785,6 +4785,23 @@ check: ${TARGET}
diff ./.tmp.1.$$ ./.tmp.2.$$ || exit 2; \
rm -f ./.tmp.[12].$$; \
done; fi
+ @if test -f ./sample-DL-DCCH-Message-1.xer ; then \
+ for f in ./sample-DL-DCCH-Message-*.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].$$; \
+ done; fi
+ @if test -f ./sample-DL-DCCH-Message-1.per ; then \
+ for f in ./sample-DL-DCCH-Message-*.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].$$; \
+ done; fi
@echo ================
@echo All tests passed
@echo ================