summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorFrancis Laniel <[email protected]>2023-12-22 22:02:21 +0100
committerTom Rini <[email protected]>2023-12-28 12:02:56 -0500
commitcb1277cc4dd541f2e541523da0600739678d3e8b (patch)
tree4e4456ec16188ce554215e586ecd6e21661fdb33 /test/Makefile
parent4b151562bb8e54160adedbc6a1c0c749c00a2f84 (diff)
test: Add framework to test hush behavior
Introduce a new subcommand to ut: ut hush. For the moment, this command does nothing, future commits will add tests which will be run on command call. Note that CONFIG_HUSH_PARSER must be defined to compile this new subcommand. Signed-off-by: Francis Laniel <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 6b8a1506f54..9aeef02f9ee 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -17,6 +17,9 @@ obj-$(CONFIG_FUZZ) += fuzz/
ifndef CONFIG_SANDBOX_VPL
obj-$(CONFIG_UNIT_TEST) += lib/
endif
+ifneq ($(CONFIG_HUSH_PARSER),)
+obj-$(CONFIG_$(SPL_)CMDLINE) += hush/
+endif
obj-$(CONFIG_$(SPL_)CMDLINE) += print_ut.o
obj-$(CONFIG_$(SPL_)CMDLINE) += str_ut.o
obj-$(CONFIG_UT_TIME) += time_ut.o