doc: (fixes #1215) clarify test.py PASS message (testing Vs doc generation)

This commit is contained in:
Surya
2025-04-28 16:40:04 +00:00
committed by Tommaso Pecorella
parent 970f9aa99e
commit 991c772198

14
test.py
View File

@@ -1994,11 +1994,17 @@ def run_tests():
status = "CRASH"
status_print = colors.PINK + status + colors.NORMAL
print("[%d/%d]" % (i, total_tests), end=" ")
print("[%d/%d] %s" % (i, total_tests, status_print), end="")
if args.duration or args.constrain == "performance":
print("%s (%.3f): %s %s" % (status_print, job.elapsed_time, kind, job.display_name))
else:
print("%s: %s %s" % (status_print, kind, job.display_name))
print(" (%.3f)" % job.elapsed_time, end="")
print(":", end="")
if "NS_COMMANDLINE_INTROSPECTION" in os.environ:
print(" Wrote example usage for", end="")
print(" %s %s" % (kind, job.display_name))
if job.is_example or job.is_pyexample:
#