Skip to contentSkip to conversation

rust: Enable verbose-tests to get the test results in readable format

PATCH New [email protected] 1 participant 1 message Sep 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: Enable verbose-tests to get the test results in readable format

From: pgowda <[email protected]>

Emits complete details regarding the test results to understand and debug from logfiles

---
 meta/recipes-devtools/rust/rust.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/rust/rust.inc +4 -0
index 284347dedc..a0164c2f6b 100644
@@ -116,6 +116,10 @@ python do_configure() {
     # Whether or not to optimize the compiler and standard library
     config.set("rust", "optimize", e(True))
 
+    # Emits extraneous output from tests to ensure that failures of the test
+    # harness are debuggable just from logfiles
+    config.set("rust", "verbose-tests", e(True))
+
     # [build]
     config.add_section("build")
     config.set("build", "submodules", e(False))
Signature · 1 line
2.25.1