diff mbox series

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

Message ID 20220904070641.2706229-1-pgowda.cve@gmail.com
State Accepted, archived
Commit 78aecd6d4e443cb467e9a8007f2db29943dfdd1f
Headers show
Series rust: Enable verbose-tests to get the test results in readable format | expand

Commit Message

Pgowda Sept. 4, 2022, 7:06 a.m. UTC
From: pgowda <pgowda.cve@gmail.com>

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

Signed-off-by: pgowda <pgowda.cve@gmail.com>
---
 meta/recipes-devtools/rust/rust.inc | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/rust/rust.inc b/meta/recipes-devtools/rust/rust.inc
index 284347dedc..a0164c2f6b 100644
--- a/meta/recipes-devtools/rust/rust.inc
+++ b/meta/recipes-devtools/rust/rust.inc
@@ -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))