X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=tests%2Fruntests.sh;fp=tests%2Fruntests.sh;h=f6a3f99e6de75c1b6d61f0f5f11592b8e2057293;hb=596aa6e8beb9da4bd365f1eeb5797a6623976e3a;hp=0000000000000000000000000000000000000000;hpb=47a7652618c0ac9a68df977e3973a07bce92ebdd;p=openstack-build%2Fdjango_openstack_auth-build.git diff --git a/tests/runtests.sh b/tests/runtests.sh new file mode 100755 index 0000000..f6a3f99 --- /dev/null +++ b/tests/runtests.sh @@ -0,0 +1,16 @@ +#!/bin/bash -x + +RES=0 + +case $1 in +python-django-openstack-auth|openstack_auth|python2-django-openstack-auth) + echo "Testing $1" + python -c "import openstack_auth" + RES=$? +;; +*) + echo "test not defined, skipping..." +;; +esac + +exit $RES