mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/senml: do no include saul_default
This commit is contained in:
parent
8c36648bd5
commit
a0ec1e0789
@ -104,7 +104,7 @@ void test_senml_encode(void)
|
||||
fmt_bytes_hex(result, cbor_buf, len);
|
||||
|
||||
/* 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));
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
include ../Makefile.tests_common
|
||||
|
||||
USEMODULE += saul_default
|
||||
USEMODULE += senml_saul
|
||||
USEMODULE += fmt
|
||||
USEMODULE += embunit
|
||||
|
@ -39,7 +39,7 @@ void test_senml_encode(void)
|
||||
fmt_bytes_hex(result, cbor_buf, len);
|
||||
|
||||
/* 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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user