From 703ba01954bef5a8a7618e6d38d8e1b1630e0541 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Sat, 1 Sep 2012 16:17:19 +0200 Subject: [PATCH] [ADD] Add a script to install all the modules in a trunk database with the tests bzr revid: stw@openerp.com-20120901141719-zsc2ow2u93kovri7 --- scripts/run_all_with_tests.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/run_all_with_tests.sh 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