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

339 Commits

Author SHA1 Message Date
Cenk Gündoğan
a2979cdeb4 unittests/tests-ipv6_nc: add tear_down 2016-03-16 13:51:23 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Simon Brummer
1af9612b34 sys/color: added RGB inversion and complementary color 2016-03-16 11:43:26 +01:00
Oleg Hahm
bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Michael Andersen
60f6aeaf70 ndp: change rtr adv src to link local 2016-03-08 21:33:35 -08:00
Martine Lenders
32e0c7ae66 Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
ab0505dfff tests: provide unittests for ieee802154 module 2016-03-07 16:40:30 +01:00
Martine Lenders
cba05cc028 Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Martine Lenders
9201063bd1 Merge pull request #3307 from OlegHahm/sixlowpan-tests_0
unittests: initial import of 6LoWPAN tests
2016-03-07 09:16:05 +01:00
Oleg Hahm
e0c38f9899 unittests: initial import of 6LoWPAN tests 2016-03-06 21:00:24 +01:00
Martine Lenders
cf9bef8f16 Merge pull request #4965 from kaspar030/add_testrunner
tests: add shared pexpect test code
2016-03-05 23:59:29 +01:00
test
a9ef72ff02 tests: make use of testrunner 2016-03-05 20:36:28 +01:00
2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 2016-03-05 18:20:17 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Cenk Gündoğan
170acbc4f6 rpl: srh: add unittests 2016-02-27 20:40:06 +01:00
BytesGalore
f0245bd648 hashes/sha256: add sha256-chain computation and verification functions
* also added unittetst for it

x[SQUASH ME] separated out all waypoints test and increased waypoints
2016-02-24 19:04:17 +01:00
Oleg Hahm
dd15430fce Merge pull request #4856 from BytesGalore/sha256_separate_unittests
unittests/sha256: separated tests to prevent stack corruption on boards
2016-02-24 16:55:17 +01:00
BytesGalore
8a0016a928 unittests/sha256: separated tests to prevent stack corruption on borards 2016-02-24 14:07:49 +01:00
Oleg Hahm
e0732a5a81 Merge pull request #4701 from OlegHahm/sha1
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
20567d46dc tests: added unittests for SHA-1 2016-02-23 12:09:37 +01:00
Yonezawa-T2
e92c355aba udp: fixed a corner case for checksum computation.
Fixes #4842.

RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1)
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Cenk Gündoğan
f26ea2028c unittests: added some unittests for the color module 2016-02-21 20:18:25 +01:00
Ludwig Knüpfer
1fedd456ce Revert "crc: rename checksum to CRC"
This reverts commit 3f645884a4.
2016-02-15 09:28:57 +01:00
Joakim Nohlgård
686cad8170 tests/unittests/tests-cbor: Add static to compilation-unit local variables 2016-02-11 15:19:56 +01:00
BytesGalore
b1537bc17c hashes/sha256: initial commit for hmac-sha256 computation 2016-02-06 08:11:37 +01:00
Oleg Hahm
3f645884a4 crc: rename checksum to CRC 2016-02-04 14:58:34 +01:00
Oleg Hahm
51db509f7c sha256: move from crypto to hashes 2016-02-04 14:58:34 +01:00
Cenk Gündoğan
e0bf46ce60 unittests: nc: test reachability of unmanaged entries 2016-01-30 15:27:08 +01:00
Ludwig Knüpfer
1df395f364 Merge pull request #4647 from LudwigKnuepfer/pr/sys-checksum
sys/checksum: initial import including CRC16-CCITT
2016-01-28 18:11:35 +01:00
Oleg Hahm
a57e77e46a sys: remove hash_string module
hash_string implements djb2 which is already part of `sys/hashes/`
2016-01-28 14:20:54 +01:00
Martine Lenders
03081216f3 Merge pull request #4692 from authmillenon/unittests/fix/python3
unittests: fix for python3
2016-01-27 23:32:37 +01:00
Ludwig Knüpfer
edbfdeb02e tests/unittests: add checksum test 2016-01-27 19:28:05 +01:00
Martine Lenders
0f7f9fe986 unittests: fix for python3 2016-01-27 15:07:35 +01:00
BytesGalore
59a69796ab unittests/crypto: changed to really compare digest vs string of digest
* added additional test with longer input
* uncrustified file
2016-01-27 06:32:28 +01:00
Cenk Gündoğan
617796241e Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Martine Lenders
9740ccae52 unittests: add tests for gnrc_ipv6_nc_get_l2_addr() 2016-01-26 10:19:16 +01:00
Martine Lenders
4fb7939ab9 unittests: add new test runner script 2016-01-23 15:22:18 +01:00
Martine Lenders
55044512fb unittests: do not powerdown node at the end 2016-01-23 15:17:36 +01:00
Aaron Sowry
7759611713 Rename 'openmote' board to 'openmote-cc2538'
This is to avoid ambiguity with future versions of the OpenMote platform.
2016-01-23 08:06:15 +13:00
Martine Lenders
d48a8230f9 unittests: add unittests for overflow fix 2016-01-07 15:17:52 +01:00
Martine Lenders
3b9c9abad8 unittests: fix formatting of fib_sr tests 2015-12-19 21:58:40 +01:00
Martine Lenders
e664507f00 unittests: some fixes to fib_sr tests 2015-12-19 21:56:50 +01:00
Martine Lenders
fa7df9adb2 unittests: deactivate relic tests for all but native 2015-12-18 23:48:32 +01:00
Martine Lenders
d1d39fd3cf Revert "unittests: deactivate relic tests for all but native" 2015-12-18 23:44:58 +01:00
Martine Lenders
18ab5bf898 unittests: deactivate relic tests for all but native 2015-12-18 23:40:20 +01:00
Victor Arino
3a8a932b27 boards/nucleo-f103: add support for nucleo-f103 2015-12-15 17:23:27 +01:00
Hauke Petersen
cf53aeddd8 Merge pull request #4382 from haukepetersen/rm_core_flagsh
core: move thread flags from flags.h to thread.h
2015-12-08 11:36:43 +01:00
Oleg Hahm
7fd62876af unittests: exclude tests for particular platforms 2015-12-08 08:58:11 +01:00
Tobias Markmann
57b8a24466 Add a RELIC package and unit test that shows how to use it
Add install of cmake to .travis.yml.

Test-Information:

This has been tested on OS X and on Ubuntu for both the native target
and STM32F4Discovery.
2015-12-08 08:58:11 +01:00