Nico Golde
c0ce9aa20d
tests: don't hardcode length values of expected encoding gsm_7bit_encode:
...
make sure to return the number of actually written bytes gsm_7bit_decode:
calculate length of resulting septets from input length before decoding
The input length to gsm_7bit_decode reflects the number of encoded bytes
to be decoded. As the decoding is done on the input in septetes we need
to take this into account and recalculate the length.
2010-07-21 02:43:58 +08:00
Holger Hans Peter Freyther
31e97ea34e
tests: Separate encoding/decoding test to verify them independly
...
Use the current test result as test data for future
regression testing. The encode function appears to
add too many zeros to the text.
2010-07-20 02:48:17 +08:00
Nico Golde
28de05336b
* rewrite GSM 7bit default encoding/decoding based on a lookup table as the previous code produced wrong encodings for certain characters.
2010-07-20 02:48:17 +08:00
Harald Welte
f8b2ba7dc8
add option --disable-tests to disable building of test binaries
2010-03-07 20:33:59 +01:00
Holger Hans Peter Freyther
d60c7a895e
[timer] Fix compile warning of the timer test
2010-02-26 20:03:13 +01:00
Harald Welte
e94ad58e8e
fix config.h directory
2010-02-20 22:06:24 +01:00
Harald Welte
3cae0398ea
add missing automake / autoconf files
2010-02-20 21:09:24 +01:00
Harald Welte
ec8b4501c7
intial checkin of the libosmocore project
2010-02-20 20:34:29 +01:00