Message ID | 20241028164844.2308549-2-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 2d42f7d9018a9c7bf7e65780d6505280a46c0cda |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/3] test/cmd: Make some "ut dm" tests only available on sandbox | expand |
On 10/28/24 17:48, Tom Rini wrote: > The "dollar" tests require CONFIG_CONSOLE_RECORD to be enabled so guard > with that. > > Signed-off-by: Tom Rini <trini@konsulko.com> > --- > test/hush/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/test/hush/Makefile b/test/hush/Makefile > index a2d98815e501..4c3a0be857ae 100644 > --- a/test/hush/Makefile > +++ b/test/hush/Makefile > @@ -5,6 +5,8 @@ > > obj-y += cmd_ut_hush.o > obj-y += if.o > +ifdef CONFIG_CONSOLE_RECORD > obj-y += dollar.o Or to keep it simpler: obj-$(CONFIG_CONSOLE_RECORD) += dollar.o Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > +endif > obj-y += list.o > obj-y += loop.o
diff --git a/test/hush/Makefile b/test/hush/Makefile index a2d98815e501..4c3a0be857ae 100644 --- a/test/hush/Makefile +++ b/test/hush/Makefile @@ -5,6 +5,8 @@ obj-y += cmd_ut_hush.o obj-y += if.o +ifdef CONFIG_CONSOLE_RECORD obj-y += dollar.o +endif obj-y += list.o obj-y += loop.o
The "dollar" tests require CONFIG_CONSOLE_RECORD to be enabled so guard with that. Signed-off-by: Tom Rini <trini@konsulko.com> --- test/hush/Makefile | 2 ++ 1 file changed, 2 insertions(+)