diff --git a/bin/oca_init_test_database b/bin/oca_init_test_database index fca3bf6..d550489 100755 --- a/bin/oca_init_test_database +++ b/bin/oca_init_test_database @@ -9,7 +9,7 @@ set -ex oca_wait_for_postgres -if [-z "${INCLUDE}"]; then +if [ -n "${INCLUDE}" ]; then ADDONS=$(manifestoo --select-include "${INCLUDE}" --select-exclude "${EXCLUDE}" list-depends --separator=,) else ADDONS=$(manifestoo --select-addons-dir ${ADDONS_DIR} --select-exclude "${EXCLUDE}" list-depends --separator=,) diff --git a/bin/oca_run_tests b/bin/oca_run_tests index b710f4a..17b674a 100755 --- a/bin/oca_run_tests +++ b/bin/oca_run_tests @@ -7,7 +7,8 @@ set -ex oca_wait_for_postgres -if [-z "${INCLUDE}"]; then + +if [ -n "${INCLUDE}" ]; then ADDONS=$(manifestoo --select-include "${INCLUDE}" --select-exclude "${EXCLUDE}" list --separator=,) else ADDONS=$(manifestoo --select-addons-dir ${ADDONS_DIR} --select-exclude "${EXCLUDE}" list --separator=,)