blob: 9d9d18661e0f2b4ac5636046774f26637373580f [file] [log] [blame]
Sean Daguee0f40652013-10-14 17:46:51 -04001#!/bin/bash
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14#
15#
16# this runs a series of unit tests for devstack to ensure it's functioning
17
18if [[ -n $@ ]]; then
19 FILES=$@
20else
21 LIBS=`find lib -type f | grep -v \.md`
22 SCRIPTS=`find . -type f -name \*\.sh`
23 EXTRA="functions"
24 FILES="$SCRIPTS $LIBS $EXTRA"
25fi
26
27echo "Running bash8..."
28
29./tools/bash8.py $FILES