At present we rely on this not existing to avoid building these tests for
SPL.

But with the new split configs this does not work. Add a separate Kconfig
instead.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 test/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/Kconfig b/test/Kconfig
index e15ba239eb3..52d85ca78a2 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -69,6 +69,11 @@ config UT_COMPRESSION
          Enables tests for compression and decompression routines for simple
          sanity and for buffer overflow conditions.
 
+config SPL_UT_COMPRESSION
+       def_bool n
+       help
+         Dummy option to ensure that this feature is not enabled in SPL.
+
 config UT_LOG
        bool "Unit tests for logging functions"
        depends on UNIT_TEST
-- 
2.33.0.309.g3052b89438-goog

Reply via email to