summaryrefslogtreecommitdiff
path: root/test/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmd')
-rw-r--r--test/cmd/exit.c3
-rw-r--r--test/cmd/test_echo.c3
-rw-r--r--test/cmd/test_pause.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/test/cmd/exit.c b/test/cmd/exit.c
index fdde054b928..e20bc5f7b98 100644
--- a/test/cmd/exit.c
+++ b/test/cmd/exit.c
@@ -7,11 +7,8 @@
#include <console.h>
#include <mapmem.h>
-#include <asm/global_data.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Declare a new exit test */
#define EXIT_TEST(_name, _flags) UNIT_TEST(_name, _flags, exit)
diff --git a/test/cmd/test_echo.c b/test/cmd/test_echo.c
index 8b306cc907f..7ed534742f7 100644
--- a/test/cmd/test_echo.c
+++ b/test/cmd/test_echo.c
@@ -6,14 +6,11 @@
*/
#include <command.h>
-#include <asm/global_data.h>
#include <display_options.h>
#include <test/lib.h>
#include <test/test.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct test_data {
char *cmd;
char *expected;
diff --git a/test/cmd/test_pause.c b/test/cmd/test_pause.c
index 174c31a3852..b2cf60d3e74 100644
--- a/test/cmd/test_pause.c
+++ b/test/cmd/test_pause.c
@@ -5,12 +5,9 @@
* Copyright 2022, Samuel Dionne-Riel <[email protected]>
*/
-#include <asm/global_data.h>
#include <test/lib.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int lib_test_hush_pause(struct unit_test_state *uts)
{
/* Test default message */