Skip to content

Commit

Permalink
Merge pull request #57 from guewen/fix-runtests-x-file
Browse files Browse the repository at this point in the history
Fix permission issue when installing runtests db
  • Loading branch information
guewen authored Mar 29, 2018
2 parents c231791 + 289bb42 commit 1cd39ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/runtests
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi
DB_NAME_TEST=${DB_NAME}_test

PGPASSWORD=$DB_PASSWORD createdb -h $DB_HOST -U $DB_USER -O $DB_USER ${DB_NAME_TEST}
"${ODOO_BIN_PATH}" --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --without-demo="" -i ${LOCAL_ADDONS}
odoo --stop-after-init --workers=0 --database $DB_NAME_TEST --log-level=warn --without-demo="" -i ${LOCAL_ADDONS}
coverage run --source="${LOCAL_SRC_DIR}" "${ODOO_BIN_PATH}" --stop-after-init --workers=0 --database $DB_NAME_TEST --test-enable --log-level=test --log-handler=":INFO" -u ${LOCAL_ADDONS}
PGPASSWORD=$DB_PASSWORD dropdb -h $DB_HOST -U $DB_USER ${DB_NAME_TEST}

Expand Down

0 comments on commit 1cd39ad

Please sign in to comment.