From 9c22e95e74602759d2b09da7aa9e5e69d21ee1fd Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Jun 15 2021 23:21:29 +0000 Subject: 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 --- diff --git a/dev/run-tests-container.py b/dev/run-tests-container.py index 3f0356a..39f0e87 100755 --- a/dev/run-tests-container.py +++ b/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 -----")