projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e92ae
)
[ADD] Add a script to install all the modules in a trunk database with the tests
author
Stephane Wirtel
<stw@openerp.com>
Sat, 1 Sep 2012 14:17:19 +0000
(16:17 +0200)
committer
Stephane Wirtel
<stw@openerp.com>
Sat, 1 Sep 2012 14:17:19 +0000
(16:17 +0200)
bzr revid: stw@openerp.com-
20120901141719
-zsc2ow2u93kovri7
scripts/run_all_with_tests.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/scripts/run_all_with_tests.sh
b/scripts/run_all_with_tests.sh
new file mode 100755
(executable)
index 0000000..
4103b62
--- /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