diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-16 07:26:39 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-16 07:26:39 +0100 |
commit | 9b3040a5e3c8e74255c2831d6c0e7cb65da34b08 (patch) | |
tree | 4f89cdf25ccb23704a7d194d752d9c9ca4dd37d3 | |
parent | 92e91061ff7f0db968d20896156a7e0e45bd60cf (diff) | |
download | ghdl-9b3040a5e3c8e74255c2831d6c0e7cb65da34b08.tar.gz ghdl-9b3040a5e3c8e74255c2831d6c0e7cb65da34b08.tar.bz2 ghdl-9b3040a5e3c8e74255c2831d6c0e7cb65da34b08.zip |
testsuite.py: use main idiom.
-rwxr-xr-x | testsuite/gna/testsuite.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/gna/testsuite.py b/testsuite/gna/testsuite.py index 13ae4a24b..d8859400e 100755 --- a/testsuite/gna/testsuite.py +++ b/testsuite/gna/testsuite.py @@ -76,5 +76,6 @@ def run(): print('{} tests run'.format(num)) -run() +if __name__ == '__main__': + run() |