~openerp-dev/openobject-server/7.0-opw-586924-dhs

« back to all changes in this revision

Viewing changes to scripts/run_all_with_tests.sh

  • Committer: Stephane Wirtel
  • Date: 2012-09-01 14:17:19 UTC
  • Revision ID: stw@openerp.com-20120901141719-zsc2ow2u93kovri7
[ADD] Add a script to install all the modules in a trunk database with the tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DATABASE=trunk
 
2
dropdb ${DATABASE}
 
3
REPOSITORIES=../../addons/trunk
 
4
MODULES=`python -c "import os; print ','.join(os.listdir('${REPOSITORIES}'))"`
 
5
createdb ${DATABASE}
 
6
rm openerp-server.log
 
7
./openerp-server \
 
8
    --log-level=debug \
 
9
    --addons=${REPOSITORIES},../../web/trunk/addons \
 
10
    -d ${DATABASE} \
 
11
    -i ${MODULES} \
 
12
    --stop-after-init \
 
13
    --no-xmlrpc \
 
14
    --no-xmlrpcs \
 
15
    --no-netrpc \
 
16
    --test-enable \
 
17
    --logfile=openerp-server.log