[ADD] Add a script to install all the modules in a trunk database with the tests
bzr revid: stw@openerp.com-20120901141719-zsc2ow2u93kovri7
This commit is contained in:
parent
77e92aeaad
commit
703ba01954
|
@ -0,0 +1,17 @@
|
|||
DATABASE=trunk
|
||||
dropdb ${DATABASE}
|
||||
REPOSITORIES=../../addons/trunk
|
||||
MODULES=`python -c "import os; print ','.join(os.listdir('${REPOSITORIES}'))"`
|
||||
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 \
|
||||
--no-netrpc \
|
||||
--test-enable \
|
||||
--logfile=openerp-server.log
|
Loading…
Reference in New Issue