Anastasia Klimchuk submitted this change.

View Change


Approvals: build bot (Jenkins): Verified Edward O'Callaghan: Looks good to me, approved Anastasia Klimchuk: Looks good to me, approved
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>
---
M tests/io_mock.c
M tests/io_mock.h
2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/tests/io_mock.c b/tests/io_mock.c
index c04e9c5..4828e53 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 3af5de4..935e84b 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>


To view, visit change 69537. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8e0611c415c921f5b04b20270fb26e147fefd1b8
Gerrit-Change-Number: 69537
Gerrit-PatchSet: 6
Gerrit-Owner: Evan Benn <evanbenn@google.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Felix Singer <felixsinger@posteo.net>
Gerrit-MessageType: merged