Browse Source

Use unbuffered output and show that tests are repeated

https://stackoverflow.com/questions/3306518/cannot-pass-an-argument-to-python-with-usr-bin-env-python/21433197#21433197
Anatoli Babenia 2 years ago
parent
commit
9c22e95e74
1 changed files with 3 additions and 1 deletions
  1. 3 1
      dev/run-tests-container.py

+ 3 - 1
dev/run-tests-container.py

@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env -S python -u
 
 import argparse
 import os
@@ -87,6 +87,8 @@ if __name__ == "__main__":
         ]
 
     failed = []
+    print("Running for {} containers:".format(len(container_names)))
+    print("  - " + "\n  - ".join(container_names))
     for idx, container_name in enumerate(container_names):
         if args.skip_build is not False:
             print("------ Building Container Image -----")