Files
odoo_source/setup/run_all_with_tests.sh
T
Antony Lesuisse d4624fa826 [IMP] repository cleanup
- move packaging stuff to setup
- remove historical stuff
- remove oe, odoo-cmd-fme will be merged with the convered commands
- add an odoo.py script to run odo and boostrap it
- simplify README
- prepare to move documentation to the github wiki
2014-05-29 18:33:04 +02:00

18 lines
496 B
Bash
Executable File

#!/usr/bin/env bash
DATABASE=trunk
dropdb ${DATABASE}
REPOSITORIES=../../addons/trunk
MODULES=`python -c "import os; print ','.join(list(set(os.listdir('${REPOSITORIES}')) - set(['document_ftp'])))"`
createdb ${DATABASE}
rm openerp-server.log
./openerp-server \
--log-level=debug \
--addons=${REPOSITORIES},../../web/trunk/addons \
-d ${DATABASE} \
-i ${MODULES} \
--stop-after-init \
--no-xmlrpc \
--no-xmlrpcs \
--test-enable \
--logfile=openerp-server.log