summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2022-11-14 10:19:04 +1100
committerAnastasia Klimchuk <aklm@chromium.org>2022-12-08 23:17:18 +0000
commit35243fdd7d51dff6db081f80f32f5e33f5f2ac68 (patch)
tree35b47cac979903affe6f56203c2befaf2aac088c /tests
parent7f3c3f5c4807f4f3c0c2de405189e86b3f8d77a3 (diff)
downloadflashrom-35243fdd7d51dff6db081f80f32f5e33f5f2ac68.tar.gz
flashrom-35243fdd7d51dff6db081f80f32f5e33f5f2ac68.tar.bz2
flashrom-35243fdd7d51dff6db081f80f32f5e33f5f2ac68.zip
tests: Move test.h include
BUG=None BRANCH=None TEST=None Change-Id: I8e0611c415c921f5b04b20270fb26e147fefd1b8 Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69537 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/io_mock.c1
-rw-r--r--tests/io_mock.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/io_mock.c b/tests/io_mock.c
index c04e9c5a9..4828e53ca 100644
--- a/tests/io_mock.c
+++ b/tests/io_mock.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <include/test.h>
#include "io_mock.h"
static const struct io_mock *current_io = NULL;
diff --git a/tests/io_mock.h b/tests/io_mock.h
index 3af5de47c..935e84b26 100644
--- a/tests/io_mock.h
+++ b/tests/io_mock.h
@@ -31,6 +31,8 @@
#ifndef _IO_MOCK_H_
#define _IO_MOCK_H_
+#include <include/test.h>
+
/* Required for `FILE *` */
#include <stdio.h>