1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests
René Kijewski 11ce199c41 cbor: compare asserted lengths in unit test
In `test_array`, `test_array` and `test_map` the variable `offset` was
written to but not read. The accumulated value should equal the total
length of the input. This diff adds this check and fixes the warning
in turn.

Found via scan-build.
2015-08-25 21:16:50 +02:00
..
bitarithm_timings tests/bitarithm_timings: Fix warning about integer overflow on msp430 2015-07-14 08:11:19 +02:00
bloom_bytes sys: use typedef for struct bloom_t 2014-09-17 19:54:40 +02:00
coap tests: coap: remove defaulttransceiver dependency 2015-08-06 12:13:18 +02:00
cpp11_condition_variable tests/cpp11_condition_variable: Clean up Makefile 2015-08-08 14:44:41 +02:00
cpp11_mutex tests/cpp11_mutex: Clean up Makefile 2015-08-08 14:44:41 +02:00
cpp11_thread tests/cpp11_thread: Clean up Makefile 2015-08-08 14:44:41 +02:00
dev_eth native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
driver_adt7310 drivers/adt7310: Add test application 2015-07-09 23:39:37 +02:00
driver_at86rf2xx iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
driver_dht tests/driver_dht: printf format fixes 2015-07-14 08:11:18 +02:00
driver_hdc1000 drivers/hdc1000: Acquire exclusive access to I2C bus and minor bug fixes 2015-01-28 10:26:02 +01:00
driver_hih6130 tests/driver_hih6130: test application for drivers/hih6130 2015-07-20 18:41:14 +02:00
driver_ina220 drivers/ina220: Add driver for INA220 current and power sensor. 2015-03-19 17:22:22 +01:00
driver_isl29020 iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
driver_isl29125 tests: adjusted test to changed GPIO interface 2015-06-12 19:10:16 +02:00
driver_kw2xrf gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
driver_l3g4200d tests: adjusted test to changed GPIO interface 2015-06-12 19:10:16 +02:00
driver_lis3dh lis3dh: Refactor, add INT1 handling, improve FIFO mode 2015-07-07 12:03:28 +02:00
driver_lps331ap tests: added test for LPS331AP sensor driver 2014-10-30 20:24:51 +01:00
driver_lsm303dlhc iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
driver_mag3110 add test app for mag3110 magnetometer driver 2015-01-09 11:11:01 +01:00
driver_mma8652 add test app for mma8652 accelerometer driver 2015-01-08 11:44:39 +01:00
driver_mpl3115a2 add test app for mpl3115a2 sensor driver 2015-01-07 13:03:32 +01:00
driver_mpu9150 tests/driver_mpu9150: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
driver_mq3 tests: added test for MQ-3 alcohol sensor driver 2014-10-30 14:05:34 +01:00
driver_netdev_eth gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
driver_nrf24l01p_lowlevel tests/driver_nrf24l01p_lowlevel: Fix shell warnings 2015-07-14 08:11:18 +02:00
driver_nrfmin gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
driver_nvram_spi tests: adjusted test to changed GPIO interface 2015-06-12 19:10:16 +02:00
driver_pcd8544 Merge pull request #3202 from haukepetersen/opt_shell_init 2015-06-15 17:28:40 +02:00
driver_pir tests/driver_pir: printf format fix 2015-07-14 08:11:18 +02:00
driver_servo drivers/servo: Handle inexact frequencies from periph_pwm 2015-05-30 12:41:07 +02:00
driver_srf02 doc/drivers/srf: edit author and copyright 2015-04-13 13:07:56 +02:00
driver_srf08 doc/drivers/srf: edit author and copyright 2015-04-13 13:07:56 +02:00
driver_tmp006 add test app for tmp006 sensor 2015-01-07 13:53:23 +01:00
driver_xbee gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
float doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
hwtimer tests: some hwtimer cosmetics 2015-07-21 11:11:38 +02:00
hwtimer_spin native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution 2015-07-09 20:42:21 +02:00
hwtimer_wait native: timer: synchronize HWTIMER_SPIN_BARRIER with timer min resolution 2015-07-09 20:42:21 +02:00
irq Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
libfixmath Revert "tests: don't build test/libfixmath on Travis CI" 2014-12-17 09:47:43 +01:00
libfixmath_unittests tests/libfixmath_unittests: Add linking with -lm for native 2015-07-22 09:49:28 +02:00
malloc tests/malloc: Replace tabs by spaces 2015-05-19 12:26:34 +02:00
minimal tests: add minimal test application 2015-07-12 13:06:39 +02:00
msg_send_receive global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
mutex_unlock_and_sleep Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
periph_adc tests/periph_adc: added test for adc driver 2014-11-06 15:19:36 +01:00
periph_cpuid global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
periph_dac tests/periph_dac/README.md: trailing whitespace and line lengths 2015-05-09 09:09:05 +02:00
periph_gpio tests: remoldeled the periph_gpio test 2015-06-12 19:06:48 +02:00
periph_i2c tests: make use of uart0_[readc|putc] 2015-06-14 17:08:51 +02:00
periph_pwm tests/periph_pwm: Handle pwm_init return value as actual frequency 2015-05-16 10:00:03 +02:00
periph_random lint: tests: fix improper use of format specifiers 2014-11-21 15:25:56 +01:00
periph_rtc cpu/stm32f0: RTC implementation with external clock 2015-08-20 13:09:43 +03:00
periph_rtt tests/periph_rtt: let build fail w/o RTT 2014-10-16 19:35:41 +02:00
periph_spi tests/periph_spi: printf format fixes 2015-07-14 08:11:15 +02:00
periph_uart_blocking tests/periph_uart_blocking: use uint32_t for baudrates 2015-07-14 08:11:15 +02:00
periph_uart_int tests/periph_uart_int: warning fixes 2015-07-14 08:11:15 +02:00
pipe Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
pkg_cmsis-dsp iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
pkg_micro-ecc tests/pkg_micro-ecc: Replace tabs by spaces 2015-05-19 12:26:47 +02:00
posix_semaphore Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
posix_sleep tests: blacklist failing test on arduino-mega2560 2014-08-27 17:47:24 +02:00
pthread all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
pthread_barrier tests/pthread_barrier: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
pthread_cleanup all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
pthread_condition_variable tests/pthread_condition_variable: Use ul suffix for constants 2015-07-14 08:11:19 +02:00
pthread_cooperation all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
pthread_rwlock tests: blacklisted nrf51dongle for some tests 2015-07-28 18:11:32 +02:00
pthread_tls sys/posix/pthread: added dynamic pthread thread local storage 2015-01-27 23:04:12 +01:00
sched_testing Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
shell tests/shell: Use libc putchar/getchar instead of wrappers 2015-07-14 08:11:19 +02:00
sizeof_tcb core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
slip gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
struct_tm_utility tests: make use of uart0_[readc|putc] 2015-06-14 17:08:51 +02:00
thread_basic Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
thread_cooperation tests: blacklisted nrf51dongle for some tests 2015-07-28 18:11:32 +02:00
thread_exit Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
thread_msg Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
thread_msg_block_w_queue Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
thread_msg_block_wo_queue Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
thread_msg_seq Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
unittests cbor: compare asserted lengths in unit test 2015-08-25 21:16:50 +02:00
vtimer_msg tests/vtimer_msg: Add missing inttypes.h include 2015-07-07 00:53:27 +02:00
vtimer_msg_diff tests/vtimer_msg_diff: Un-blacklist arduino-mega2560 2015-07-07 00:53:26 +02:00
warn_conflict RIOT/Makefile.include: added compile time warning on conflicting features 2015-05-07 21:05:08 +02:00
zep gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Makefile.tests_common make: don't use export on example makefiles 2014-07-10 15:23:31 +02:00