]> www.git.momoyon.org Git - lang.git/commitdiff
[test.py] "build" subcmd only outputs stdout on verbose output.
authorahmedsamyh <ahmedsamyh10@gmail.com>
Mon, 3 Mar 2025 12:48:44 +0000 (17:48 +0500)
committerahmedsamyh <ahmedsamyh10@gmail.com>
Mon, 3 Mar 2025 12:48:44 +0000 (17:48 +0500)
test.py

diff --git a/test.py b/test.py
index eaabbf8f4ab03c6b9fb3d1bd8daf5fadb9d892ed..39cc977d4a25c9c14dcb5e2ae1ec6757dfb1d4e6 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -184,7 +184,7 @@ def main():
                     passing_tests_count += 1
                     print("[PASS] ", end='')
                     o = False
-                    if res.stdout:
+                    if verbose_output and res.stdout:
                         print(f"{res.stdout}")
                         o = True
                     if verbose_output and res.stderr: