Commit Graph

9 Commits

Author SHA1 Message Date
Ian Wienand 9b64bbf06e Remove old comment in run_tests.sh
The scope of this has expanded to run everything in ./tests

Change-Id: I640b0a8b7aa578ddd24dd3e58d5b2a1e09fe0284
2015-04-17 13:23:25 +10:00
Dean Troyer dc97cb71e8 Mostly docs cleanups
Fix documentation build errors and RST formatting

Change-Id: Id93153400c5b069dd9d772381558c7085f64c207
2015-03-28 14:35:12 -05:00
Sean Dague 9f20ea1382 make run_tests.sh run devstack unit tests
run_tests.sh was created as an entry point for bashate. We stopped
using it now that we know how to run bashate directly in the gate. 
We lost running an unrelated bashate test when that happened.

Devstack does have unit tests. We don't run them. We should. 
Especially when working on things like the LIBS_FROM_GIT which is
sufficiently tricky that we really need to add unit tests to ensure
that we don't break it.

Change-Id: Ife067855569e2eae4c085471d326e8086de37332
2014-11-18 11:33:47 +00:00
Dean Troyer 50e9b9e25b Remove internal bash8
We use the one installed from pypi in the tox venv, so dump
the original.  Fix up run_tests.sh.

Change-Id: I6b0aa1da9bfa4d742a7210e6ff800d72492a2178
2014-10-21 08:30:25 -05:00
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