From bba826c7c8c85911fb4259acbfcfc6f78cc580af Mon Sep 17 00:00:00 2001 From: Ben Swartzlander Date: Sat, 28 Jan 2017 14:23:49 -0500 Subject: [PATCH] Don't run bashate on output directories Ignore output directories when running bashate to make it easier to run the tests on an active repo. Change-Id: I07ce0d9e3d7946048fa3743c68d2222884923866 --- make-bootable-disk.sh | 2 +- tox.ini | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/make-bootable-disk.sh b/make-bootable-disk.sh index b012e7f..0312312 100755 --- a/make-bootable-disk.sh +++ b/make-bootable-disk.sh @@ -77,4 +77,4 @@ rm -f $TEMP_QCOW ls -lh $DISK_QCOW -echo Done \ No newline at end of file +echo Done diff --git a/tox.ini b/tox.ini index ab2ea3a..a22d4c6 100644 --- a/tox.ini +++ b/tox.ini @@ -8,5 +8,9 @@ deps = {env:BASHATE_INSTALL_PATH:bashate==0.5.1} whitelist_externals = bash commands = bash -c "find {toxinidir} \ -not \( -type d -name .?\* -prune \) \ + -not \( -type d -name output-\* -prune \) \ + -not \( -type d -name overlay-\* -prune \) \ + -not \( -type d -name buildroot -prune \) \ + -not \( -type d -name download -prune \) \ -type f -name \*.sh \ -print0 | xargs -0 bashate -v -iE002,E003,E010,E011"