summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYun Zheng Hu <yunzheng.hu@gmail.com>2021-07-14 17:25:59 +0200
committerYun Zheng Hu <yunzheng.hu@gmail.com>2021-07-14 17:25:59 +0200
commit15f418480db9e279f7de244206d9ed1b1a3052b5 (patch)
tree744203db2ea79970748a1196d1127241bde7bc33 /Makefile
parentc414479fdf1d5ad77170f977481fb9197c9559ae (diff)
downloadvyos-1x-15f418480db9e279f7de244206d9ed1b1a3052b5.tar.gz
vyos-1x-15f418480db9e279f7de244206d9ed1b1a3052b5.zip
vyos-1x-vmware: T3681: don't bytecompile ether-resume.py
Exclude /vmware-tools/scripts/ from bytecompilation to avoid the `__pycache__` directory being created.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 84dbab401..32bc58be0 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ clean:
.PHONY: test
test:
- set -e; python3 -m compileall -q .
+ set -e; python3 -m compileall -q -x '/vmware-tools/scripts/' .
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