Skip to contentSkip to conversation

test: env: Enable env unit tests by default

PATCH New Heinrich Schuchardt 3 participants 3 messages Apr 7, 2019 – Apr 24, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: env: Enable env unit tests by default

If CONFIG_UNIT_TEST is enabled we should enable the individual tests by default to ensure good test coverage.

---
Tests ok on Travis CI:
https://travis-ci.org/xypron2/u-boot/builds/516825681

---
 test/env/Kconfig | 1 +
 1 file changed, 1 insertion(+)
test/env/Kconfig +1 -0
index ff164132e9..6cb82337b3 100644
@@ -1,6 +1,7 @@
 config UT_ENV
 	bool "Enable env unit tests"
 	depends on UNIT_TEST
+	default y
 	help
 	  This enables the 'ut env' command which runs a series of unit
 	  tests on the env code.

--
2.20.1

#2 lore raw

PATCH 1/1 test: env: Enable env unit tests by default

In reply to Heinrich Schuchardt
Quoted 4 lines · Heinrich Schuchardt

If CONFIG_UNIT_TEST is enabled we should enable the individual tests by default to ensure good test coverage.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190424/0ed3a48b/attachment.sig>