diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2016-03-13 22:30:29 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-04-06 09:22:41 +0200 |
| commit | ed08c49564309ff7e0aa9a587d4359a8f6d9ce2d (patch) | |
| tree | 0f11748391a3c85e3efdd82f26e3efa2f34d41e6 /test/utils/monothread.py | |
| parent | 5db3ce6a4a1bba435fd39b9700feb7cb2256663b (diff) | |
| download | miasm-ed08c49564309ff7e0aa9a587d4359a8f6d9ce2d.tar.gz miasm-ed08c49564309ff7e0aa9a587d4359a8f6d9ce2d.zip | |
Test: simple output
Diffstat (limited to 'test/utils/monothread.py')
| -rw-r--r-- | test/utils/monothread.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/utils/monothread.py b/test/utils/monothread.py deleted file mode 100644 index ae64f3c5..00000000 --- a/test/utils/monothread.py +++ /dev/null @@ -1,20 +0,0 @@ -import sys -import cosmetics - - -def task_done(test, error): - s = "[%s] Running tests on %s ..." % (test.base_dir.upper(), - " ".join(test.command_line)) - already_printed = len(s) - if error is not None: - cosmetics.write_colored("ERROR", "red", already_printed) - print error - else: - cosmetics.write_colored("OK", "green", already_printed) - - -def task_new(test): - s = "[%s] Running tests on %s ..." % (test.base_dir.upper(), - " ".join(test.command_line)) - sys.stdout.write(s) - sys.stdout.flush() |