diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-16 15:37:32 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-09-16 15:37:32 +0300 |
commit | a5b9c9241ef4145b744a107ff61e33ac35262ca9 (patch) | |
tree | 3cdea3db8172cabbddb781df542485028cf0254c | |
parent | 71521628865edfefe043f0e6263ea7362a6069f6 (diff) | |
download | unit-a5b9c9241ef4145b744a107ff61e33ac35262ca9.tar.gz unit-a5b9c9241ef4145b744a107ff61e33ac35262ca9.tar.bz2 |
Tests: more comments.
-rw-r--r-- | test/unit/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/main.py b/test/unit/main.py index f9aa29cf..2ee43251 100644 --- a/test/unit/main.py +++ b/test/unit/main.py @@ -42,6 +42,8 @@ class TestUnit(unittest.TestCase): if not hasattr(self, 'application_type'): return super().run(result) + # rerun test for each available module version + type = self.application_type for prerequisite in self.prerequisites: if prerequisite in available_modules: @@ -351,6 +353,8 @@ class TestUnit(unittest.TestCase): TestUnit.save_log = args.save_log TestUnit.unsafe = args.unsafe + # set stdout to non-blocking + if TestUnit.detailed: fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, 0) |