Martine Lenders
8f890b3790
tests: adapt unittests for new gnrc_pktbuf preconditions
2016-09-27 21:49:58 +02:00
Martine Lenders
1f5dcd91cc
Merge pull request #5873 from Lotterleben/unittest_link_fix
...
unittests: fix link
2016-09-27 20:57:03 +02:00
Lotte Steenbrink
faaf50619d
unittests: fix link
2016-09-27 11:41:44 -07:00
Lotte Steenbrink
1bccdfe9c2
unittests: document make debug
2016-09-27 11:34:35 -07:00
BytesGalore
9818d053f4
hashes/sha256: changed data pointer parameters to void*
2016-09-27 06:36:08 +02:00
b2b42c7b71
Merge pull request #5451 from mali/uno
...
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
3ff576e46a
tests: adapt for arduino uno and duemilanove support
...
- blacklist arduino-uno and arduino-duemilanove for
coap, libfixmath_unittests, lwip, nhdp,
pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
pthread_cooperation, pthread_rwlock and pthread_tls tests.
- fix sys/pipe build
- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +02:00
Martine Lenders
dd7fb1c63b
Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
...
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Oleg Hahm
de0963948c
tests: unittests for gnrc_ipv6_get_header
2016-07-22 16:34:52 +02:00
Lotte Steenbrink
fef429e16b
fix typo
2016-07-20 12:20:50 +02:00
Hauke Petersen
08a2aed46d
unittests: added test for printf with floats
2016-07-18 23:22:28 +02:00
Martine Lenders
e16bbda5f6
Merge pull request #5629 from kaspar030/improve_clist
...
core: improve clist
2016-07-18 19:36:16 +02:00
d86c141842
core, tests: adapt to changed clist function names
2016-07-18 16:20:40 +02:00
Victor Arino
e84e2996f3
core/cib: add unittest for cib_peek
2016-07-18 08:57:44 +02:00
Joakim Nohlgård
ffb4573667
Merge pull request #5097 from gebart/pr/make-include
...
make: Place most configuration macros in a separate file instead of on the command line
2016-07-07 18:03:18 +02:00
Joakim Nohlgård
4d6883a732
tests/unittests: Remove unnecessary FORCE target
...
Changes to CFLAGS #defines are now picked up by the configuration
header (genconfigheader) when building, so the FORCE target is no longer
necessary when building different test suites.
2016-07-05 16:06:33 +02:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00
Martine Lenders
2af14d6373
unittests: apply proper naming for gnrc_netif tests
2016-06-04 17:21:27 +02:00
aee6a6ad60
Merge pull request #5307 from kaspar030/add_fmt_types
...
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
be269d3773
tests: unittests: add fmt_u64_dec() tests
2016-06-02 10:40:19 +02:00
Mathias Tausig
dfee5c3274
hashes: Unified the cryptographic hash functions
...
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Leon M. George
c8985056e9
tests/unittests: cc2650stk insufficient memory
2016-04-18 19:00:50 +02:00
Hauke Petersen
e2fe3cc504
test: added unittests for the SAUL registry
2016-04-15 15:07:49 +02:00
Ludwig Knüpfer
ef25f32536
tests/checksum: fix style in fletcher32
2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
018b3b4660
tests/checksum: fix style in fletcher16
2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
4d9ac9eebd
tests/checksum: fix style in crc16-ccitt
2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
889adc18b8
unittests: add fletcher* tests
2016-04-08 22:03:48 +02:00
Hauke Petersen
02df871428
Merge pull request #4949 from jia200x/nucleo-f072
...
board: added support for nucleo f072
2016-03-31 19:18:28 +02:00
José Ignacio Alamos Aste
cc0e94f9c6
blacklist: nucleo-f072: blacklisted several examples and tests
2016-03-31 19:08:10 +02:00
Cenk Gündoğan
9dbfdcac0b
Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
...
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
1bac3f3a2f
tests: unittests: adapt tests-core-clist to singly linked clist
2016-03-30 00:27:49 +02:00
Hauke Petersen
0610c20914
tests: added unittests for fmt_s16_[dfp|dec]()
2016-03-29 15:23:04 +02:00
Cenk Gündoğan
37c2dc961c
tests-ipv6_nc: init interfaces for all unittests
2016-03-24 16:13:21 +01:00
Oleg Hahm
991c71cf27
gnrc ipv6: use ipv6_addr_t ptr for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033
gnrc ipv6 hdr: remove len params from hdr_build
2016-03-23 15:20:11 +01:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
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
Hauke Petersen
cc23481d55
tests: adapted to renamed THREAD_FLAGS
2015-12-07 22:09:47 +01:00
Hauke Petersen
fa7c2a1b45
tests: removed includes of flags.h
2015-12-07 22:09:46 +01:00
Oleg Hahm
baa4869b70
tests: unittests for gnrc_netif_exist
2015-12-04 10:38:04 +01:00
Martine Lenders
281b0ba46e
Merge pull request #4343 from kb2ma/misc/fix-checksum
...
Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.
2015-12-03 13:16:12 +01:00
Ken Bannister
0cd5bf9b8f
Add unit tests for inet_csum_slice()
2015-12-02 05:53:58 -05:00
Lucas Jenss
ddaa9863f2
Add 256 byte block hamming code implementation
2015-11-30 20:08:36 +01:00
e98237a26f
sys: div: remove div_u32_by_10()
2015-11-19 13:29:10 +01:00
Joakim Nohlgård
6378be104c
Merge pull request #4100 from authmillenon/tests/fix/i4095
...
unittests: initialize xtimer if present
2015-11-06 08:53:18 +01:00
BytesGalore
523d1f87ca
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 15:57:39 +01:00
Cenk Gündoğan
26e67b86b5
Merge pull request #4161 from kaspar030/add_fmt
...
sys: fmt: initial commit of simple string formatting library
2015-10-30 18:51:29 +01:00
Cenk Gündoğan
de52225c70
sys: fmt: add basic unittests for fmt
2015-10-29 19:18:24 +01:00
Cenk Gündoğan
206e027725
Merge pull request #3647 from BytesGalore/fib_source_routing
...
fib: initial source route support
2015-10-29 12:08:47 +01:00
Martine Lenders
42d387a42f
unittests: initialize xtimer if present
2015-10-29 09:39:30 +01:00