Cenk Gündoğan
a0c4b8a4a0
Merge pull request #14550 from leandrolanzieri/pr/net/gcoap_remove_gcoap_finish
...
net/gcoap: remove gcoap_finish
2020-07-22 09:40:09 +02:00
ed3ff6ed34
tests: exclude nucleo-f070rb where it doesn't fit in memory
2020-07-21 12:45:25 +02:00
Leandro Lanzieri
3920dd8c20
net/gcoap: Remove gcoap_finish
2020-07-17 16:33:19 +02:00
Akshai M
774c18ea79
net/credman : Move 'CREDMAN_MAX_CREDENTIALS' to 'CONFIG_'
2020-07-14 21:26:19 +05:30
benpicco
e2e51ae7ef
Merge pull request #14368 from jia200x/pr/byteorder_bebuftohs
...
core/byteorder: add uint32 from/to buffer funcs
2020-07-13 12:31:43 +02:00
Jose Alamos
2592dd7805
unittest/byteorder: add tests for uint32 from/to funcs
2020-07-13 11:21:31 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430
2020-07-10 16:49:08 +02:00
Marian Buschsieweke
4e6ec3493f
tests/unittests: Extend & clean up base64 tests
...
- Added unit test for `base64_estimate_{de,en}code_size()`
- Mark constant stuff as `const`
- Use `memcmp()` for comparing memory
- Do not use variable size arrays
- Various code style issue
2020-07-02 12:23:43 +02:00
279f2aebed
Merge pull request #14224 from kaspar030/cortexm_remove_idle_thread
...
core: make idle thread optional
2020-06-26 11:04:19 +02:00
f85f78211f
tests/unittests: increase main stacksize to THREAD_STACKSIZE_LARGE
2020-06-25 16:12:57 +02:00
Joakim Nohlgård
ce5141ace6
unittests: Qualifier cast for pktsnip test initializers
2020-06-25 16:08:39 +02:00
9210630e1a
unittests/hashes: Mark input strings as static const
2020-06-25 15:05:26 +02:00
Leandro Lanzieri
3ce8efd4cb
Merge pull request #14138 from akshaim/Kconfig_mac
...
gnrc/mac : Expose configurations to Kconfig
2020-06-17 18:12:40 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 12:05:40 +02:00
Kees Bakker
c062b7f33d
tests/unittests: add sodaq-sara-sff to BOARD_INSUFFICIENT_MEMORY
2020-06-15 21:58:17 +02:00
Akshai M
414a0b0fa5
tests/unittests/mac : Added check for macro if set via Kconfig
2020-06-15 12:29:00 +05:30
Akshai M
9ddc9e0633
gnrc/mac : Move GNRC_MAC_NEIGHBOR_COUNT to 'CONFIG_'
2020-06-15 12:19:37 +05:30
Akshai M
5523d119b6
gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_'
2020-06-11 14:46:36 +05:30
Francisco
89095d6e0f
Merge pull request #14225 from PeterKietzmann/pr_sha2xx_common
...
sys/hashes: add sha224 and reuse sha256 code
2020-06-11 09:07:39 +02:00
PeterKietzmann
454d1fe4cf
unittests/tests-hashes: add tests for sha224
2020-06-10 09:40:13 +02:00
PeterKietzmann
e5e3724a45
unittests/tests-hashes: add two FIPS test cases fot sha256
2020-06-10 09:40:03 +02:00
PeterKietzmann
d9c73bef51
unittests/tests-hashes: add tests for sha256 wrapper
2020-06-10 09:39:07 +02:00
Ken Bannister
f8dfa52b2d
Merge pull request #14075 from mjurczak/bugfix/nanocoap-token-overflow
...
nanocoap: bugfix token overflow
2020-06-04 22:01:18 -04:00
Maciej Jurczak
edf016a6cb
nanocoap: Added token length validation.
...
Implemented a check in coap_parse() to verify if TKL value is within valid range as specified by RFC7252. The token length must be within 0-8 range, any other value should be considered as invalid and the packet should produce message format error.
A test case was added to tests-nanocoap.c to verify correct behavior in case of TKL in range and out of range.
Update sys/net/application_layer/nanocoap/nanocoap.c
Prefixed debug message with module name and abbreviations expanded.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
Update sys/net/application_layer/nanocoap/nanocoap.c
Prefixed debug message with module name and abbreviations expanded.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2020-05-25 22:44:50 +02:00
Hauke Petersen
3c07a3f751
tests: added unittests for phydat
2020-05-20 15:29:24 +02:00
benpicco
f3dddd6127
Merge pull request #14068 from miri64/sock_util/enh/netif-str2ep
...
sock_util: add interface descriptor parsing to str2ep
2020-05-19 23:59:32 +02:00
Martine S. Lenders
991c2e9ec4
tests/unittests: amend sock_util tests for interface parsing
2020-05-19 14:57:41 +02:00
Juergen Fitschen
aeb1230266
sys/fmt: add fmt_hex_bytes size probing
2020-05-12 17:39:25 +02:00
Ken Bannister
10a479c1c5
Merge pull request #13935 from cgundogan/pr/nanocoap/proxy_uri_parsing
...
nanocoap: add coap_get_proxy_uri()
2020-05-07 06:14:19 -04:00
fabian18
a3a1c160ee
mtd: Change API to return 0 on success
...
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Vincent Dupont
49358e2763
unittests/tests-mtd: add a test to check read spanning pages
2020-05-06 16:36:29 +02:00
Cenk Gündoğan
0121ff13b8
tests-nanocoap: test adding and retrieving the proxy-uri option
2020-04-23 22:41:46 +02:00
Cenk Gündoğan
c0f4a2c085
tests-nanocoap: add missing full stop in doc
2020-04-23 22:41:12 +02:00
Cenk Gündoğan
ecc4932d22
unittests/nanocoap: test for adding an unterminated string path
2020-04-22 12:50:50 +02:00
Ken Bannister
6eae4ded84
net/gcoap: create CoAP ping request
2020-04-17 08:15:20 -04:00
Ken Bannister
2d3eb1a343
net/nanocoap: validate empty message length
2020-04-17 08:15:20 -04:00
14706d7423
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net/nanocoap
...
net/nanocoap: Expose configurations to Kconfig
2020-04-08 10:51:54 +02:00
04f890fa8b
tests: handle cases for bootloader_nrfutil blacklist
2020-04-08 09:35:08 +02:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace
2020-04-07 17:00:53 +02:00
Leandro Lanzieri
c84576ef6e
net/nanocoap: Move NANOCOAP_NOPTS_MAX to 'CONFIG_' namespace
2020-04-07 17:00:52 +02:00
Ken Bannister
b32fcd28d1
Merge pull request #13815 from kb2ma/nanocoap/add_canonical_uri_query
...
net/gcoap: add canonical uri query function names
2020-04-07 06:32:13 -04:00
Ken Bannister
7369fac944
tests/nanocoap: use canonical function name to add Uri-Query option
2020-04-06 06:19:44 -04:00
Cenk Gündoğan
abd399b934
Merge pull request #13804 from chrysn-pull-requests/uri-test-isabsolute
...
uri_parser: Fix and test non-relative recognition
2020-04-05 13:42:11 +02:00
chrysn
2ec0fee1fa
uri_parser: Adjust test expectations on relative references with colon
...
This fixes the contested case, and adds the example of RFC3986 Section
4.2[1] to the should be relative cases.
[1]: https://tools.ietf.org/html/rfc3986#section-4.2
2020-04-03 15:21:33 +02:00
chrysn
3d6d27374c
uri_parser: Add test for absolute function
...
One value in the output is possibly wrong, was left in the passing state
as the rest of the expected state reflects the same misconception, and
commented thusly.
2020-04-03 14:54:38 +02:00
Martine Lenders
d00bde7750
Merge pull request #13789 from cgundogan/pr/uri_parser/remove_check_for_zero
...
sys/uri_parser: check for uri_end instead of 0
2020-04-03 13:13:18 +02:00
Cenk Gündoğan
1bfc1fbcb3
uri_parser: unittests: add validity check for unterminated string
2020-04-02 15:11:34 +02:00
Leandro Lanzieri
c74544c9ec
Merge pull request #13349 from maribu/dependency-or
...
build system: Restructure dependency resolution
2020-04-02 10:40:44 +02:00
Marian Buschsieweke
af21f15b02
makefiles: Minor clean ups
...
- Add FEATURES_REQUIRED_ANY to dependency-debug:
Now `make dependency-debug` by default also stores the contents of
`FEATURES_REQUIRED_ANY`.
- makefiles/features_check.inc.mk: Break long lines
- {tests/minimal,tests/unittests,bootloaders/riotboot}:
Disable auto_init_% in addition to auto_init.
This works around weird behavior due to the USEMODULE being recursively expended
in the first iteration of dependency resolution: Modules added to DEFAULT_MODULE
get automatically added to USEMODULE during the first run, but not for
subsequent. This should be iron out later on.
2020-04-02 09:56:39 +02:00
Martine Lenders
004126a5e9
tests/unittests/uri_parse: generate more sophisticated error message
2020-04-01 08:42:25 +02:00