diff options
Diffstat (limited to 'setup/run_all_with_tests.sh')
| -rwxr-xr-x | setup/run_all_with_tests.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/setup/run_all_with_tests.sh b/setup/run_all_with_tests.sh new file mode 100755 index 00000000000..ef879db72b9 --- /dev/null +++ b/setup/run_all_with_tests.sh @@ -0,0 +1,17 @@ +#!/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 |
