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

93 Commits

Author SHA1 Message Date
Ludwig Ortmann
373f91c6ff tests/unittests: remove useless doxygen stub 2015-02-10 15:43:35 +01:00
Ludwig Ortmann
dd2da2fb71 Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Martine Lenders
498313a23f doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
Cenk Gündoğan
50112af413 tests: restrict => __restrict 2015-02-08 19:22:29 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Cenk Gündoğan
5c77530da4 sys/bloom: changed doc from bytes -> bits 2015-01-29 15:06:01 +01:00
Thomas Eichinger
b0d1ca2d31 tests: blacklist nucleo-f334 in tests not fitting into RAM 2015-01-28 11:20:44 +01:00
Martine Lenders
c9e2f5bdce pktqueue: adapt to pkt_t 2015-01-14 14:53:37 +01:00
Oleg Hahm
2d874af904 Merge pull request #2158 from authmillenon/pkt/feat/initial-import
pkt: Initial import
2015-01-14 08:20:46 +01:00
Martine Lenders
62544e6923 tests, pkt: add unittests for pkt 2015-01-14 07:04:57 +01:00
Martine Lenders
0221c27d4b unittests: provide unittests for basic_mac 2015-01-14 06:59:59 +01:00
Martin Landsmann
a0898dbb9f sys: add base64 encoding/decoding module
- suppressed cppcheck warning for `unassignedVariable` for
   the encode/decode arrays in stream encode/decode tests
   as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
René Kijewski
f684aa4b2d tests: make embUnit a normal sys module
There is nothing quite special about embUnit.

This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Martine Lenders
c991f3dcec tests: remove do-while(0) blocks for netdev tests or comment on them 2014-12-19 08:19:56 +01:00
Martine Lenders
17ef92eade Merge pull request #2181 from phiros/tests_sha256_transform_into_unittest
tests: transformed tests/sha256 into a unittest
2014-12-12 16:29:16 +01:00
Philipp Rosenkranz
f5d941ac22 tests: transformed tests/bloom into an unittest 2014-12-11 22:56:40 +01:00
Philipp Rosenkranz
1024e0b8be tests: transformed tests/sha256 into an unittest 2014-12-11 21:57:01 +01:00
Philipp Rosenkranz
536c910980 Merge pull request #2157 from LudwigOrtmann/unittests-lib
tests/unittests: merge lib-ringbuffer into core
2014-12-08 15:36:41 +01:00
Ludwig Ortmann
0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Ludwig Ortmann
4feec9243f tests/unittests: merge lib-ringbuffer into core
Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
2014-12-08 10:15:48 +01:00
René Kijewski
6b559faf88 tests: add UBJSON unittests 2014-12-03 20:42:51 +01:00
Ludwig Ortmann
e6c808d5fa Merge pull request #1970 from Kijewski/optimize-cib
core: inline `cib.c`
2014-12-03 17:12:48 +01:00
Oleg Hahm
0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 2014-12-02 17:46:57 +01:00
Oleg Hahm
3cf43db63e unittests: test full 16 bit range for bitarithm
Also uses a better pseudo random number.
2014-11-26 16:52:51 +01:00
Martine Lenders
21adda9370 [SQUASH ME] pktqueue: fix unittests 2014-11-25 21:52:28 +01:00
Martine Lenders
8ee3edcb13 netdev: Add protocol to header list nodes 2014-11-21 12:37:48 +01:00
9ce0b676b4 core: sys: move ringbuffer to core 2014-11-19 14:18:39 +01:00
René Kijewski
f23771c6fe tests: extend cib unittest 2014-11-11 17:39:40 +01:00
René Kijewski
08810d605b embunit: fix macros 2014-11-10 20:50:50 +01:00
Martine Lenders
1138360a14 unittests: make test macros save for strict aliasing 2014-11-08 19:13:23 +01:00
Martine Lenders
f6795b461c unittests: Add missing semicolons to macro calls 2014-11-08 13:45:11 +01:00
Martine Lenders
0de78831f9 unittests: Provide unittests for net_dev_dummy
* tests if net_dev_dummy is correct and if driver part of net_dev is
  correct
2014-10-30 20:37:21 +01:00
Martine Lenders
cf3fdaabb6 unittests: add test network device
The reasoning behind this commit is twofold:
1. test the "lower" part (the device part) of netdev
2. provide a well defined testing infrastructure for modules that utilise
   netdev
The actual tests that represent 1. are provided in the following commit
2014-10-30 20:37:20 +01:00
BytesGalore
6dc157208a c++: tests: add extern "C" in header files, i.e. only present in ./unittests 2014-10-17 13:58:10 +02:00
Martine Lenders
a569f2b92c net: Initial import of a global packet buffer 2014-10-16 11:52:30 +02:00
Martine Lenders
36f8e3c5c3 Merge pull request #1640 from authmillenon/packetqueue
net: Initial import of a packet wrapper for priority_queue
2014-10-10 23:12:28 +02:00
Martine Lenders
e7e62cffdb net: Initial import of a packet wrapper for priority_queue 2014-10-10 23:11:50 +02:00
Martine Lenders
42f96b0d60 Merge pull request #1699 from Kijewski/issue-1586
core: Provide functions for different byte orders
2014-10-10 07:38:57 +02:00
Martine Lenders
2fc0ae28cf Merge pull request #1645 from authmillenon/unittests-empty-dirs
unittests: make: Fix unittests for branch changes
2014-10-01 12:01:41 +02:00
René Kijewski
bc0f5ebf4c tests: fix bad copy+paste in tests-core.h 2014-09-29 21:07:02 +02:00
René Kijewski
0c3bc4a58d tests: Add unittests for byteorder.h 2014-09-29 21:07:02 +02:00
Hinnerk van Bruinehsen
bef32717bf test:cbor: supress warnings about nan/infty 2014-09-19 23:59:49 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Martine Lenders
4c6e17b39b unittests: make: Fix unittests for branch changes
Changing between branches in git typically leaves directories empty and
does not remove them. If you have different unittests in different
branches this leads to an error in building them, since the current
configuration expects a Makefile in all `tests-*` directory. This change
configures Make to search for a Makefile in `tests-*` rather than just
assuming that there is one.
2014-09-08 12:36:15 +02:00
Ludwig Ortmann
457be31b6f Merge pull request #1616 from krf/fix-warnings
Fix comment
2014-08-27 19:38:27 +02:00
Martine Lenders
67fcd0d71b unittests: Simplify module-wise rebuild 2014-08-27 14:04:33 +02:00
Kevin Funk
554e431746 Fix comments 2014-08-27 11:36:36 +02:00
Ludwig Ortmann
3d611679ee Merge pull request #1599 from LudwigOrtmann/issue-1597
sys/cbor,tests: fix cbor daylight saving time
2014-08-27 11:11:49 +02:00
Martine Lenders
5bad5a0fda unittests: Fix coding conventions 2014-08-27 10:48:10 +02:00
Martine Lenders
2709d95e1a unittests: Fix -Wunused-parameter warnings 2014-08-27 10:48:09 +02:00