diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-19 07:29:26 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-19 07:29:26 +0100 |
commit | 433bd328940e6c90a1ff6bb6455d8ff538302154 (patch) | |
tree | f6a1dba3d8286c86ef1afb2d6c3772b1ea555819 /testsuite | |
parent | 51be8c1991ae4fb9678dd1cfbb62a6ae568737aa (diff) | |
download | ghdl-433bd328940e6c90a1ff6bb6455d8ff538302154.tar.gz ghdl-433bd328940e6c90a1ff6bb6455d8ff538302154.tar.bz2 ghdl-433bd328940e6c90a1ff6bb6455d8ff538302154.zip |
testsuite.py: disp list of failed tests.
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/gna/testsuite.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gna/testsuite.py b/testsuite/gna/testsuite.py index 670a3b13d..88493efcc 100755 --- a/testsuite/gna/testsuite.py +++ b/testsuite/gna/testsuite.py @@ -37,6 +37,7 @@ def run(): start_time = time.time() jobs = [] poll = [] + failures = [] nbr_tests = len(tests) nbr_run = 0 nbr_err = 0 @@ -74,6 +75,7 @@ def run(): if code != 0: print('############### Error for {}'.format(j.dirname)) nbr_err += 1 + failures.append(j.dirname) tests = [] jobs.remove(j) nbr_run += 1 @@ -81,6 +83,8 @@ def run(): print('{}/{} tests run in {} sec, {} failures'.format( nbr_run, nbr_tests, end_time - start_time, nbr_err)) + if failures: + print('Failure: {}'.format(failures)) if __name__ == '__main__': |