5 Commits

Author SHA1 Message Date
Dean Troyer
d401c84a77 Fix run_tests to not mask bash8 errors
The addition of the crazy-refs check masked the bash8 exit code.  So add
the same pass/fail handling from exercise.sh to provide a neat summary at
the end of the run.

Change-Id: I169eb90c619a114cf8584bee70b7dcda67769dc5
2014-03-21 11:55:46 -05:00
Sean Dague
f5d2a5ceb4 test for adding crazy branches
as found by dansmith's clever hack, if devstack lands a crazy
branch name in stackrc, we'd break the devstack gate. While it's
doubtful anyone would do this, add a basic sanity check.

Change-Id: Ib3b1881ed4fd520a1828ed073a7c8353e6f0a839
2014-03-06 13:45:42 -05:00
Sean Dague
b93ee25b64 make bash8 take a -v flag
this ensures that we actually know we are processing all the files
we believe we are.

Change-Id: I8e99b5f9dc987c946586475f374f7040ca63a478
2014-02-23 20:41:07 -05:00
Ian Wienand
09bb9e6792 Add more files to run_tests.sh bash8 check
Add functions-common, stackrc, openrc, exerciserc, eucarc to bash8
checks

Change-Id: Ic14b348c871bf98bf35c7e866e715bb75bdccf97
2014-02-21 14:33:29 +11:00
Sean Dague
e0f4065afd add a simple run_tests.sh to use bash8
this gives a simple way to run against all the files that we'd
want to check with bash8. Currently clocking in at 300+ errors
(no false pos so far that I see).

Change-Id: Idd83b0bf61029b49bb28ad8b6e6261ecbf927555
2013-10-14 17:57:16 -04:00