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
This commit is contained in:
Ben Swartzlander 2017-01-28 14:23:49 -05:00
parent c533026ed7
commit bba826c7c8
2 changed files with 5 additions and 1 deletions

View File

@ -77,4 +77,4 @@ rm -f $TEMP_QCOW
ls -lh $DISK_QCOW
echo Done
echo Done

View File

@ -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"