diff options
| author | Stephane Wirtel <stw@openerp.com> | 2012-09-01 16:17:19 +0200 |
|---|---|---|
| committer | Stephane Wirtel <stw@openerp.com> | 2012-09-01 16:17:19 +0200 |
| commit | 703ba01954bef5a8a7618e6d38d8e1b1630e0541 (patch) | |
| tree | 306212997a76725e53a5ecdafc6289b728d26e71 /scripts/run_all_with_tests.sh | |
| parent | 77e92aeaad00b5ac2500cc9267f9a208577ac14e (diff) | |
[ADD] Add a script to install all the modules in a trunk database with the tests
bzr revid: stw@openerp.com-20120901141719-zsc2ow2u93kovri7
Diffstat (limited to 'scripts/run_all_with_tests.sh')
| -rwxr-xr-x | scripts/run_all_with_tests.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/run_all_with_tests.sh b/scripts/run_all_with_tests.sh new file mode 100755 index 00000000000..4103b6243e2 --- /dev/null +++ b/scripts/run_all_with_tests.sh @@ -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 |
