diff options
author | Runar Borge <runar@borge.nu> | 2020-05-08 09:55:15 +0200 |
---|---|---|
committer | Runar Borge <runar@borge.nu> | 2020-05-08 11:06:14 +0200 |
commit | 719defa27820fe60d47e402374a5bebc136addad (patch) | |
tree | 52705fc57d43f16dd17a304d4388c7ede0f7d8ad /Makefile | |
parent | 29dee3abb55d0f0c6b91b311f30521b45d7e46b6 (diff) | |
download | vyos-1x-719defa27820fe60d47e402374a5bebc136addad.tar.gz vyos-1x-719defa27820fe60d47e402374a5bebc136addad.zip |
T2436: Adding offline python compile to fetch syntax faults
In the past there have been quite a few tickets regarding python syntax errors on scripts rewritten to python.
To make a quickfix on some of these faults we could make a Jenkins step that executes: python3 -m compileall -q . to do a offline compile of the python files.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -119,6 +119,7 @@ clean: .PHONY: test test: + set -e; python3 -m compileall -q . PYTHONPATH=python/ python3 -m "nose" --with-xunit src --with-coverage --cover-erase --cover-xml --cover-package src/conf_mode,src/op_mode,src/completion,src/helpers,src/validators,src/tests --verbose .PHONY: sonar |