diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-17 23:27:18 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-02-17 23:27:18 +0200 |
| commit | 091b782e433e8a5a3af68c9cc05c9f22e63d28e2 (patch) | |
| tree | 0c1a4ee518cefec7ed6ca5a890fad9efe3be50d3 /mesonbuild/scripts/meson_test.py | |
| parent | 25e39f7fb108e76b3058d408085178719c61e3ea (diff) | |
| download | meson-091b782e433e8a5a3af68c9cc05c9f22e63d28e2.tar.gz | |
Prevent state leaks when running tests in-process.
Diffstat (limited to 'mesonbuild/scripts/meson_test.py')
| -rw-r--r-- | mesonbuild/scripts/meson_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/scripts/meson_test.py b/mesonbuild/scripts/meson_test.py index 23abd6e53..453ea61a1 100644 --- a/mesonbuild/scripts/meson_test.py +++ b/mesonbuild/scripts/meson_test.py @@ -223,6 +223,7 @@ def run_tests(options, datafilename): def run(args): global tests_failed + tests_failed = [] # To avoid state leaks when invoked multiple times (running tests in-process) options = parser.parse_args(args) if len(options.args) != 1: print('Test runner for Meson. Do not run on your own, mmm\'kay?') |
