Skip to content

Commit

Permalink
tests: add missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed Nov 11, 2022
1 parent 173e332 commit b77cc84
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/can_trx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <stdio.h>
#include <stdlib.h>

#include "kernel_defines.h"
#include "can/can_trx.h"

#include "shell.h"

#ifdef MODULE_TJA1042
Expand Down
1 change: 1 addition & 0 deletions tests/driver_dynamixel/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "stdio_uart.h"
#include "board.h"
#include "periph/gpio.h"
#include "container.h"

#include <stdio.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions tests/driver_feetech/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "feetech.h"
#include "shell.h"
#include "stdio_uart.h"
#include "container.h"

#include <stdio.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions tests/driver_sdcard_spi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "sdcard_spi_internal.h"
#include "sdcard_spi_params.h"
#include "fmt.h"
#include "container.h"
#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 2 additions & 0 deletions tests/driver_sht1x/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
*/

#include <stdio.h>
#include <stddef.h>

#include "shell.h"
#include "sht1x_params.h"
#include "container.h"

#define SHT1X_NUM ARRAY_SIZE(sht1x_params)
extern sht1x_dev_t sht1x_devs[SHT1X_NUM];
Expand Down
1 change: 1 addition & 0 deletions tests/gnrc_dhcpv6_client_6lbr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/

#include <stddef.h>
#include "shell.h"

int main(void)
Expand Down
1 change: 1 addition & 0 deletions tests/gnrc_dhcpv6_client_stateless/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/

#include <stddef.h>
#include "shell.h"

int main(void)
Expand Down
1 change: 1 addition & 0 deletions tests/gnrc_dhcpv6_relay/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/

#include <stddef.h>
#include "shell.h"

int main(void)
Expand Down
1 change: 1 addition & 0 deletions tests/periph_flashpage_unittest/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "cpu.h"
#include "embUnit.h"
#include "embUnit/embUnit.h"
#include "modules.h"

/* need to define these values before including the header */
#ifndef FLASHPAGE_SIZE
Expand Down
1 change: 1 addition & 0 deletions tests/phydat_dump/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <stdio.h>

#include "phydat.h"
#include "container.h"

typedef struct {
phydat_t dat;
Expand Down
1 change: 1 addition & 0 deletions tests/pkg_fatfs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "mtd.h"
#include "fatfs_diskio_mtd.h"
#include "shell.h"
#include "container.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions tests/pkg_tinycbor/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "embUnit/embUnit.h"
#include "fmt.h"
#include "cbor.h"
#include "container.h"

const char *tests[] = {
"00", /* 0 */
Expand Down
1 change: 1 addition & 0 deletions tests/unittests/tests-clif/tests-clif.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <string.h>
#include "embUnit.h"
#include "tests-clif.h"
#include "container.h"

#include "clif.h"

Expand Down
1 change: 1 addition & 0 deletions tests/unittests/tests-core/tests-core-macros.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* directory for more details.
*/

#include <stddef.h>
#include <stdint.h>
#include <limits.h>
#include "embUnit.h"
Expand Down
2 changes: 2 additions & 0 deletions tests/unittests/tests-core/tests-core-priority-queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/
#include <string.h>

#include "container.h"

#include "embUnit.h"

#include "priority_queue.h"
Expand Down
1 change: 1 addition & 0 deletions tests/unittests/tests-sht1x/tests-sht1x.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <sht1x.h>
#include <stdlib.h>
#include "container.h"
#include "embUnit/embUnit.h"
#include "tests-sht1x.h"

Expand Down
1 change: 1 addition & 0 deletions tests/unittests/tests-uri_parser/tests-uri_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <stdio.h>
#include <stdbool.h>
#include "container.h"
#include "embUnit.h"

#include "uri_parser.h"
Expand Down

0 comments on commit b77cc84

Please sign in to comment.