File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2424# value to tag the database dump. Will search for a dump named
2525# "odoo_test_$SUBS_MD5.dmp" if not found it will create one.
2626#
27- set -e
27+ set -e -x
2828
2929# TODO: if we are not in TRAVIS, make a template then run tests on a copy
3030
6666 fi
6767 echo " 🔨🔨 Install official/OCA modules 🔨🔨"
6868 echo " ${DEPS_ADDONS} "
69- odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --without-demo=False -- db-filter=$DB_NAME_TEST -i ${DEPS_ADDONS}
69+ odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --db-filter=$DB_NAME_TEST -i ${DEPS_ADDONS}
7070 if [ " $CREATE_DB_CACHE " == " true" -a ! -z " $CACHED_DUMP " ]; then
7171 echo " Generate dump $CACHED_DUMP into cache 🐘⮕ 📦"
7272 mkdir -p " $CACHE_DIR "
7373 pg_dump -Fp -d $DB_NAME_TEST -O -f " $CACHED_DUMP "
7474 fi
7575fi
7676echo " 🔧🔧 Install odoo/addons modules 🔧🔧"
77- odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable --log-level=test --log-handler=" :INFO" --without-demo=False -- db-filter=$DB_NAME_TEST -i ${LOCAL_ADDONS}
77+ odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable --log-level=test --log-handler=" :INFO" --db-filter=$DB_NAME_TEST -i ${LOCAL_ADDONS}
7878
7979dropdb ${DB_NAME_TEST}
Original file line number Diff line number Diff line change 77# testdb-gen -i my_addon_to_install
88#
99
10- set -e
10+ set -e -x
1111
1212if psql -lqtA -h ${DB_HOST} | grep -q " ^$DB_NAME |" ; then
1313 echo " database ${DB_NAME} already exists"
1616
1717echo " creating database ${DB_NAME} "
1818createdb -h ${DB_HOST} -O ${DB_USER} ${DB_NAME}
19- odoo --stop-after-init --workers=0 --log-level=warn --without-demo=False " $@ "
19+ odoo --stop-after-init --workers=0 --log-level=warn " $@ "
2020echo " done"
Original file line number Diff line number Diff line change 77# testdb-update -u my_addon
88#
99
10- set -e
10+ set -e -x
1111
1212if ! psql -lqtA -h ${DB_HOST} | grep -q " ^$DB_NAME |" ; then
1313 echo " database ${DB_NAME} does not exist"
1414 exit 1
1515fi
1616
1717echo " updating database ${DB_NAME} "
18- odoo --stop-after-init --workers=0 --log-level=warn --without-demo=False " $@ "
18+ odoo --stop-after-init --workers=0 --log-level=warn " $@ "
1919echo " done"
You can’t perform that action at this time.
0 commit comments