diff options
author | Lev Walkin <vlm@lionet.info> | 2006-09-18 21:30:04 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2006-09-18 21:30:04 +0000 |
commit | 13afe53c998abffddad12e0b760cdf8647d8194c (patch) | |
tree | aff90e44363fa67cf3ad3589a68d434dcab0be43 /examples/sample.source.RRC | |
parent | 0091881353d72db0598b3343650243ee32dd3a59 (diff) |
more debug
Diffstat (limited to 'examples/sample.source.RRC')
-rw-r--r-- | examples/sample.source.RRC/Makefile | 73 |
1 files changed, 24 insertions, 49 deletions
diff --git a/examples/sample.source.RRC/Makefile b/examples/sample.source.RRC/Makefile index 313abb19..1ff6d82c 100644 --- a/examples/sample.source.RRC/Makefile +++ b/examples/sample.source.RRC/Makefile @@ -4779,68 +4779,43 @@ regen-makefile: check: ${TARGET} @if test -f sample-DL-DCCH-Message-1.[db]er ; then \ for f in sample-DL-DCCH-Message-*.[db]er; do \ - echo "Recoding $$f into XER and back..."; \ - ./${TARGET} -iber -oxer -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer -b 17 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer -b 33 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer -b 980 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -ixer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ + for b in 1 17 33 980 8192; do \ + echo "Recoding $$f into XER and back ($$b)..."; \ + ./${TARGET} -b $$b -iber -oxer $$f > ./.tmp.1.$$$$ || exit 2; \ + ./${TARGET} -b $$b -ixer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \ rm -f ./.tmp.[12].$$$$; \ - done; fi + done; 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 -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -ixer -oder -b 17 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -ixer -oder -b 33 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -ixer -oder -b 980 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -ixer -oder $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ + for b in 1 17 33 980 8192; do \ + echo "Recoding $$f into DER and back ($$b)..."; \ + ./${TARGET} -b $$b -ixer -oder $$f > ./.tmp.1.$$$$ || exit 2; \ + ./${TARGET} -b $$b -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ diff $$f ./.tmp.2.$$$$ || exit 2; \ rm -f ./.tmp.[12].$$$$; \ - done; fi + done; done; fi @if test -f sample-DL-DCCH-Message-1.per ; then \ for f in sample-DL-DCCH-Message-[1-9].per; do \ - echo "Recoding $$f into DER into XER and back..."; \ - ./${TARGET} -iper -oxer -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iper -oxer -b 17 $$f > ./.tmp.2.$$$$ || exit 2; \ - ./${TARGET} -iper -oxer -b 33 $$f > ./.tmp.3.$$$$ || exit 2; \ - ./${TARGET} -iper -oxer -b 980 $$f > ./.tmp.4.$$$$ || exit 2; \ - diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \ - diff ./.tmp.2.$$$$ ./.tmp.3.$$$$ || exit 2; \ - diff ./.tmp.3.$$$$ ./.tmp.4.$$$$ || exit 2; \ - ./${TARGET} -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ - ./${TARGET} -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ - ./${TARGET} -ixer -oder ./.tmp.2.$$$$ > ./.tmp.3.$$$$ || exit 2; \ + for b in 1 17 33 980 8192; do \ + echo "Recoding $$f into DER into XER and back ($$b)..."; \ + ./${TARGET} -b $$b -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ + ./${TARGET} -b $$b -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ + ./${TARGET} -b $$b -ixer -oder ./.tmp.2.$$$$ > ./.tmp.3.$$$$ || exit 2; \ diff ./.tmp.1.$$$$ ./.tmp.3.$$$$ || exit 2; \ - rm -f ./.tmp.[1234].$$$$; \ - done; fi + rm -f ./.tmp.[123].$$$$; \ + done; done; fi @if test -f sample-DL-DCCH-Message-1-padded.per ; then \ for f in sample-*-[1-9]-padded.per; do \ pdu=`echo $$f | sed -E -e "s/sample-([A-Za-z-]+)-[0-9].*/\1/"`; \ - echo "Recoding byte-padded $$f into DER into XER and back..."; \ - echo "./${TARGET} -per-padded -p $$pdu -iper -oxer -b 1 $$f > ./.tmp.1.$$$$"; \ - ./${TARGET} -per-padded -p $$pdu -iper -oxer -b 1 $$f > ./.tmp.1.$$$$ || exit 2; \ - echo "./${TARGET} -per-padded -p $$pdu -iper -oxer -b 17 $$f > ./.tmp.2.$$$$"; \ - ./${TARGET} -per-padded -p $$pdu -iper -oxer -b 17 $$f > ./.tmp.2.$$$$ || exit 2; \ - echo "./${TARGET} -per-padded -p $$pdu -iper -oxer -b 33 $$f > ./.tmp.3.$$$$"; \ - ./${TARGET} -per-padded -p $$pdu -iper -oxer -b 33 $$f > ./.tmp.3.$$$$ || exit 2; \ - echo "./${TARGET} -per-padded -p $$pdu -iper -oxer -b 980 $$f > ./.tmp.4.$$$$"; \ - ./${TARGET} -per-padded -p $$pdu -iper -oxer -b 980 $$f > ./.tmp.4.$$$$ || exit 2; \ - diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \ - diff ./.tmp.2.$$$$ ./.tmp.3.$$$$ || exit 2; \ - diff ./.tmp.3.$$$$ ./.tmp.4.$$$$ || exit 2; \ - echo "./${TARGET} -per-padded -p $$pdu -iper -oder $$f > ./.tmp.1.$$$$"; \ - ./${TARGET} -per-padded -p $$pdu -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ - echo "./${TARGET} -p $$pdu -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$"; \ - ./${TARGET} -p $$pdu -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ - echo "./${TARGET} -p $$pdu -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$"; \ - ./${TARGET} -p $$pdu -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$ || exit 2; \ + for b in 1 17 33 980 8192; do \ + echo "Recoding byte-padded $$f into DER into XER and back ($$b)..."; \ + ./${TARGET} -b $$b -per-padded -p $$pdu -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ + ./${TARGET} -b $$b -p $$pdu -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ + ./${TARGET} -b $$b -p $$pdu -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$ || exit 2; \ diff $$f ./.tmp.1.$$$$ || exit 2; \ - rm -f ./.tmp.[1234].$$$$; \ - done; fi + rm -f ./.tmp.[12].$$$$; \ + done; done; fi @echo ================ @echo All tests passed @echo ================ |