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

12 Commits

Author SHA1 Message Date
Karl Fessel
c29d2f1afb test/unittest: cleanup most vera++ complains 2022-10-27 16:31:59 +02:00
Benjamin Valentin
c46d9d7360 tests/unittests: sock_util: test with schema of uneven length 2022-10-10 19:04:15 +02:00
Karl Fessel
ab5958febd unittest/sock_util: move strings to their tests 2022-05-06 11:54:25 +02:00
Karl Fessel
9d798d6113 unittest/sock_util: add test for missing addr variants 2022-05-05 16:53:11 +02:00
Benjamin Valentin
c747d99556 unitttests/sock_util: add sock_urlpath() to tests 2022-04-18 01:42:57 +02:00
Benjamin Valentin
67ef5faeed sys/net/sock_util: make use of SOCK_HAS_IPV4 2022-01-13 18:40:12 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Martine S. Lenders
991c2e9ec4
tests/unittests: amend sock_util tests for interface parsing 2020-05-19 14:57:41 +02:00
Leandro Lanzieri
c74fa5367c net/sock/util: Move configuration macros to 'CONFIG_' namespace
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Leandro Lanzieri
864247d6ca unitttests/sock_util: Test null pointer in urlsplit 2019-06-12 10:03:11 +02:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
e91af6d556
sock_util: Add tests 2018-07-20 11:48:29 +02:00