Skip to content
Snippets Groups Projects
Verified Commit 6461f511 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 22b4ba51
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ function fail() { ...@@ -32,7 +32,7 @@ function fail() {
UNITTEST_DATABASE=${UNITTEST_DATABASE-_caosdb_schema_unit_tests} UNITTEST_DATABASE=${UNITTEST_DATABASE-_caosdb_schema_unit_tests}
# options: [--fresh] # optional parameter: [--fresh] for installing a fresh data base. Otherwise an existing one would be reused.
function runtests() { function runtests() {
DATABASE_NAME=$UNITTEST_DATABASE DATABASE_NAME=$UNITTEST_DATABASE
_setup_mytap _setup_mytap
...@@ -61,7 +61,7 @@ function _execute_tests () { ...@@ -61,7 +61,7 @@ function _execute_tests () {
} }
# install/reset database for unit tests. # install/reset database for unit tests.
# options: [--fresh] # optional parameter: [--fresh] for installing a fresh data base. Otherwise an existing one would be reused.
function _install_unit_test_database () { function _install_unit_test_database () {
DATABASE_NAME=$UNITTEST_DATABASE DATABASE_NAME=$UNITTEST_DATABASE
if _db_exists "$DATABASE_NAME"; then if _db_exists "$DATABASE_NAME"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment