diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-04-06 10:11:07 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:07 +0200 |
commit | caff6e6f1aef6d861ab31f6058f83c22618b1179 (patch) | |
tree | c94e957be9938cc1e3cb8b8d7b855163b5241081 /Makefile | |
parent | 4a41852f82cd8c50ad79b19a029de8819554ebac (diff) | |
download | vyos-live-build-caff6e6f1aef6d861ab31f6058f83c22618b1179.tar.gz vyos-live-build-caff6e6f1aef6d861ab31f6058f83c22618b1179.zip |
Excluding Python scripts from shell script tests in top-level Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -13,8 +13,11 @@ test: @for SCRIPT in $(SCRIPTS); \ do \ - sh -n $${SCRIPT}; \ - echo -n "."; \ + if ! head -n1 $${SCRIPT} | grep -qs python; \ + then \ + sh -n $${SCRIPT}; \ + echo -n "."; \ + fi; \ done @echo " done." @@ -25,8 +28,11 @@ test: then \ for SCRIPT in $(SCRIPTS); \ do \ - checkbashisms -f -x $${SCRIPT}; \ - echo -n "."; \ + if ! head -n1 $${SCRIPT} | grep -qs python; \ + then \ + checkbashisms -f -x $${SCRIPT}; \ + echo -n "."; \ + fi; \ done; \ else \ echo "WARNING: skipping bashism test - you need to install devscripts."; \ |