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 <hu@fox-it.com>2021-07-23 22:58:17 +0200
commit9ee239cd4857da938ed5b7a147435fd2361574ac (patch)
tree1b65bc540a4f0a473bbd1e2def772655c95fc3f6 /Makefile
parent7292631373ea50f9908796ef2eda32e672d1df2e (diff)
downloadvyos-1x-9ee239cd4857da938ed5b7a147435fd2361574ac.tar.gz
vyos-1x-9ee239cd4857da938ed5b7a147435fd2361574ac.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 f0ecafd55..e5a420601 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,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