Skip to content

Commit aff8fed

Browse files
committed
experiment: remove '--without-demo=False' which is default
1 parent 3cfb5c5 commit aff8fed

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

bin/runtests

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
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

@@ -66,14 +66,14 @@ else
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
7575
fi
7676
echo "🔧🔧 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

7979
dropdb ${DB_NAME_TEST}

bin/testdb-gen

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# testdb-gen -i my_addon_to_install
88
#
99

10-
set -e
10+
set -e -x
1111

1212
if psql -lqtA -h ${DB_HOST} | grep -q "^$DB_NAME|"; then
1313
echo "database ${DB_NAME} already exists"
@@ -16,5 +16,5 @@ fi
1616

1717
echo "creating database ${DB_NAME}"
1818
createdb -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 "$@"
2020
echo "done"

bin/testdb-update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# testdb-update -u my_addon
88
#
99

10-
set -e
10+
set -e -x
1111

1212
if ! psql -lqtA -h ${DB_HOST} | grep -q "^$DB_NAME|"; then
1313
echo "database ${DB_NAME} does not exist"
1414
exit 1
1515
fi
1616

1717
echo "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 "$@"
1919
echo "done"

0 commit comments

Comments
 (0)