1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

275 Commits

Author SHA1 Message Date
BytesGalore
6c57582107 fib: initial source route support 2015-10-27 20:20:18 +01:00
Cenk Gündoğan
7ecd6d4a8a fib: reduce scope of global vars to the scope of fib_table_t 2015-10-19 10:26:41 +02:00
f1e742dcf4 tests: unittests: add unittests for div.h 2015-10-12 23:25:58 +02:00
Cenk Gündoğan
4b405b9680 unittests/tests-bloom: use static memory for bloom 2015-10-05 11:41:53 +02:00
Paul Rathgeb
cefe2a6698 make: Blacklisted the board 'weio' for some test due to insufficient
RAM/ROM
      Blacklisted LPC11Uxx.h for doxygen
2015-10-01 20:11:48 +02:00
Thomas Eichinger
99720b4eec unittest/fib: fix printf formating for OS X 2015-09-30 15:41:59 +02:00
Martine Lenders
8df17de95b Merge pull request #3925 from authmillenon/gnrc_pktbuf_static/fix/short_snip
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 16:20:22 +02:00
Oleg Hahm
a0957b11d6 Merge pull request #3926 from OlegHahm/some-scan-build-warnings
clean up: Some scan build warnings
2015-09-22 11:43:20 +02:00
Martine Lenders
b254889b2b tests: unittests: provide test for fix 2015-09-22 10:50:17 +02:00
Oleg Hahm
423d6e31f3 unittests: add an netif before performing nc tests 2015-09-17 11:11:49 +02:00
Oleg Hahm
5644102399 unittests: adapt netif tests to 1461675
Since 14616753433559bb7be7a8bed224d86d339b5fe2 an IPv6 interface doesn't have a link-local address per default any more, so tests shouldn't check for it.
2015-09-17 11:11:26 +02:00
5a485c3f73 sys: net: fib: switch to xtimer 2015-09-16 10:58:56 +02:00
Martine Lenders
f595ac32a6 unittests: tests-ipv6_addr: adapt for optional IPv4 address support 2015-09-11 20:03:46 +02:00
Martine Lenders
be587ca717 tests: add unittests for ipv4_addr 2015-09-11 16:32:36 +02:00
Oleg Hahm
8afecdd8a6 Merge pull request #3658 from OlegHahm/ipv6_fib
universal_addresses: configure sizes according to the used modules
2015-09-07 10:14:08 +02:00
Oleg Hahm
7d2f414476 universal_address: make size dependent on FIB size 2015-09-07 09:18:29 +02:00
Hauke Petersen
fe5d9fb3df tests: removed redbee-econotag from blacklistings 2015-09-04 10:44:48 +02:00
Oleg Hahm
b514eeab04 Merge pull request #3706 from OlegHahm/fib_size_parameter
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102 fib: add data struct for meta information
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Cenk Gündoğan
7848a03549 tests/unittests: BOARD_INSUFFICIENT_RAM => BOARD_INSUFFICIENT_MEMORY 2015-08-28 18:13:34 +02:00
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
Frank Holtz
ee952f79fe boards: added nrf6310 support. (NRF51 MCU) 2015-08-23 17:00:01 +02:00
Martine Lenders
c1e24d449e Merge pull request #3584 from cgundogan/pr/seqno
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +02:00
Cenk Gündoğan
9d1b899e56 tests/unittests/tests-seq: unittests for Serial Number Arithmetic 2015-08-21 23:30:06 +02:00
fa5046cd03 tests: unittests: add netopt module unit tests 2015-08-21 11:04:06 +02:00
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Oleg Hahm
b68213a410 Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
65e2acb29d unittests: fixed ipv6_netif tests
Anycasts are not explicitly forbidden according to RFC6724, Appendix B.
2015-08-18 00:31:58 +02:00
Martine Lenders
feb8b8cc0f Merge pull request #3639 from OlegHahm/unittest-color-output
Added a colored outputter to embUnit.
2015-08-17 22:06:51 +02:00
Janos Kutscherauer
5d7ba5b35f Added a colored outputter to embUnit.
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.

Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
2015-08-17 15:04:27 +02:00
Oleg Hahm
bc3aba24a4 Merge pull request #3594 from authmillenon/ipv6/api/disentengle-hdr-ext
ipv6: move non-GNRC types and functions in their own module
2015-08-17 13:11:51 +02:00
Martine Lenders
bce1cf618d Merge pull request #3586 from daniel-k/fix/pktbuf_release_check_contains
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-17 10:22:44 +02:00
Martine Lenders
2903667494 tests: adapt unittests for ipv6_hdr module division 2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9 ipv6: move non-GNRC types and functions in their own modules 2015-08-14 17:18:35 +02:00
Hauke Petersen
e6a9549d16 Merge pull request #3213 from haukepetersen/add_pktbuf_iovecexport
net/ng_pktbuf: added IOVEC export function
2015-08-12 19:46:01 +02:00
daniel-k
12a3a65350 ng_pktbuf_static: remove unittests release_pkt_[null|external] 2015-08-12 14:41:20 +02:00
Martine Lenders
203561e741 ipv6_addr: remove ng_ prefix 2015-08-11 13:27:07 +02:00
Martine Lenders
2e6c974c15 Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445 Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
2a4fd4dd75 unittests: add test for timex_to_str() 2015-08-11 01:33:21 +02:00
Martine Lenders
a55400133b tests: fix ipv6_netif tests
Fixes #3600
2015-08-10 15:47:50 +02:00
Hauke Petersen
85fe67e629 net/fib: removed all ng prefixes from fib 2015-08-10 15:43:55 +02:00
Hauke Petersen
a0600c1ee9 tests/unittests: added tests for pktbuf_get_iovec() 2015-08-10 10:37:55 +02:00
Hauke Petersen
1189b28d0d tests/unittests: added tests for ng_pkt_count() 2015-08-10 10:37:55 +02:00
Oleg Hahm
e0f35b78e6 unittests: adapt tests to new IPv6 global check 2015-08-09 20:22:22 +02:00
Martine Lenders
5c03268516 inet_csum: remove ng_ prefix 2015-08-07 16:59:13 +02:00
Martine Lenders
b7545365df protnum: remove ng_ prefix 2015-08-07 16:02:09 +02:00
Oleg Hahm
1373795ec5 Merge pull request #3575 from OlegHahm/ipv6_more_address_types
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
f9417ba506 tests: unittests for all missing address checks 2015-08-07 08:15:05 +02:00