1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +01:00

tests/senml: do no include saul_default

This commit is contained in:
Francisco Molina 2022-02-11 17:04:27 +01:00
parent 8c36648bd5
commit a0ec1e0789
3 changed files with 2 additions and 3 deletions

View File

@ -104,7 +104,7 @@ void test_senml_encode(void)
fmt_bytes_hex(result, cbor_buf, len); fmt_bytes_hex(result, cbor_buf, len);
/* Compare hex result */ /* Compare hex result */
TEST_ASSERT_EQUAL_INT(2 * len, sizeof expect - 1); TEST_ASSERT_EQUAL_INT(2 * len, sizeof(expect) - 1);
TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len)); TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len));
} }

View File

@ -1,6 +1,5 @@
include ../Makefile.tests_common include ../Makefile.tests_common
USEMODULE += saul_default
USEMODULE += senml_saul USEMODULE += senml_saul
USEMODULE += fmt USEMODULE += fmt
USEMODULE += embunit USEMODULE += embunit

View File

@ -39,7 +39,7 @@ void test_senml_encode(void)
fmt_bytes_hex(result, cbor_buf, len); fmt_bytes_hex(result, cbor_buf, len);
/* Compare hex result */ /* Compare hex result */
TEST_ASSERT_EQUAL_INT(2 * len, sizeof expect - 1); TEST_ASSERT_EQUAL_INT(2 * len, sizeof(expect) - 1);
TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len)); TEST_ASSERT_EQUAL_INT(0, strncmp(expect, result, len));
} }