[PATCH] test: Fix sandbox tests failing to build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] test: Fix sandbox tests failing to build

Sean Anderson
syslog_test.h is in test/log/, not include/

Fixes: 52d3df7fef ("log: Allow LOG_DEBUG to always enable log output")
Signed-off-by: Sean Anderson <[hidden email]>
---

 test/log/syslog_test.c        | 2 +-
 test/log/syslog_test_ndebug.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/log/syslog_test.c b/test/log/syslog_test.c
index febaca68e8..a058d8f569 100644
--- a/test/log/syslog_test.c
+++ b/test/log/syslog_test.c
@@ -18,7 +18,7 @@
 #include <test/suites.h>
 #include <test/ut.h>
 #include <asm/eth.h>
-#include <syslog_test.h>
+#include "syslog_test.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
diff --git a/test/log/syslog_test_ndebug.c b/test/log/syslog_test_ndebug.c
index c7f5a60861..84844a3944 100644
--- a/test/log/syslog_test_ndebug.c
+++ b/test/log/syslog_test_ndebug.c
@@ -15,7 +15,7 @@
 #include <test/suites.h>
 #include <test/ut.h>
 #include <asm/eth.h>
-#include <syslog_test.h>
+#include "syslog_test.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
--
2.28.0

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] test: Fix sandbox tests failing to build

Simon Glass-3
On Tue, 13 Oct 2020 at 13:21, Sean Anderson <[hidden email]> wrote:

>
> syslog_test.h is in test/log/, not include/
>
> Fixes: 52d3df7fef ("log: Allow LOG_DEBUG to always enable log output")
> Signed-off-by: Sean Anderson <[hidden email]>
> ---
>
>  test/log/syslog_test.c        | 2 +-
>  test/log/syslog_test_ndebug.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] test: Fix sandbox tests failing to build

Tom Rini-4
In reply to this post by Sean Anderson
On Tue, Oct 13, 2020 at 03:20:52PM -0400, Sean Anderson wrote:

> syslog_test.h is in test/log/, not include/
>
> Fixes: 52d3df7fef ("log: Allow LOG_DEBUG to always enable log output")
> Signed-off-by: Sean Anderson <[hidden email]>
> Reviewed-by: Simon Glass <[hidden email]>

Applied to u-boot/master, thanks!

--
Tom

signature.asc (673 bytes) Download Attachment