From 15f418480db9e279f7de244206d9ed1b1a3052b5 Mon Sep 17 00:00:00 2001
From: Yun Zheng Hu <yunzheng.hu@gmail.com>
Date: Wed, 14 Jul 2021 17:25:59 +0200
Subject: vyos-1x-vmware: T3681: don't bytecompile ether-resume.py

Exclude /vmware-tools/scripts/ from bytecompilation to avoid the
`__pycache__` directory being created.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3