Skip to content
Snippets Groups Projects
Commit 623fd699 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

Backout on revision: a2a701f35466

parent a2a701f3
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@
# this is the same value as conf/dev/odoo.conf
dbowner=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/conf/dev/odoo.conf') ; print c.get('options', 'db_user')")
modules_to_install=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print ','.join(c.get('odoo_scripts', 'module_list', '').split())")
without_demo=$(python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print ','.join(c.get('odoo_scripts', 'without_demo', '').split())")
# color stuff
autoload colors
......@@ -71,6 +70,6 @@
fi
echo ${YELLOW}INFO ${RESET} - Modules to install: $modules_to_install
echo ${YELLOW}INFO ${RESET} - Install those modules
$here/start -i $modules_to_install --without-demo=$without_demo -d $dbname --log-level=warn --max-cron=0 --stop-after-init $* $ODOO_HOST $ODOO_USER || { echo ${RED}FATAL${RESET} - Cannot install modules ; exit 1; }
$here/start -i $modules_to_install -d $dbname --log-level=warn --max-cron=0 --stop-after-init $* $ODOO_HOST $ODOO_USER || { echo ${RED}FATAL${RESET} - Cannot install modules ; exit 1; }
echo ${YELLOW}INFO ${RESET} - Run tests on $dbname
$here/run_tests $dbname $ODOO_HOST $ODOO_USER
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment