Commit Graph

39 Commits

Author SHA1 Message Date
Antony Lesuisse 8d2afb026e cleanup repo root 2014-05-15 10:43:02 +02:00
Raphael Collet 6bc60505f4 [IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Christophe Simonis 9250fd83c5 [FIX] oe initialize start http server to allow http tests to pass
bzr revid: chs@openerp.com-20140212105512-lag945hh0l8z7owk
2014-02-12 11:55:12 +01:00
Christophe Simonis 295743b1c1 [IMP] oe initialize must take the port as parameter (for http tests)
bzr revid: chs@openerp.com-20140211224846-waor2hz1fkw1dml8
2014-02-11 23:48:46 +01:00
Antony Lesuisse e5fdb3a060 remove run_tests command, use -d -u modname --test-enable or --test-file
bzr revid: al@openerp.com-20140209030217-16i0ze18dr473ecx
2014-02-09 04:02:17 +01:00
Antony Lesuisse bd16076431 fix try to fix runbot oe command
bzr revid: al@openerp.com-20140209022520-p55nlctjru58ans5
2014-02-09 03:25:20 +01:00
Antony Lesuisse 278ed718e9 new test execution engine
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper

bzr revid: al@openerp.com-20140209004005-p5pwym4sqc23vw5b
2014-02-09 01:40:05 +01:00
Xavier Morel 830618d871 [IMP] oe: get db password from config file
bzr revid: xmo@openerp.com-20140131114828-b90z3pxql63ky6gp
2014-01-31 12:48:28 +01:00
Christophe Matthieu 8460122209 [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150856-fzrfcoa8pmsjutau
2013-12-02 16:08:56 +01:00
Christophe Simonis ab386c0f5f [MERGE] forward port of branch saas-2 up to revid 4984 chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
bzr revid: chs@openerp.com-20131125154140-cpbk4tcdml2a3b9n
2013-11-25 16:41:40 +01:00
Christophe Simonis ec88c042b2 [MERGE] forward port of branch saas-1 up to revid 4918 chs@openerp.com-20131114134731-n324awyon0spq624
bzr revid: chs@openerp.com-20131114135502-xqi6df3jzm7ng0io
2013-11-14 14:55:02 +01:00
Xavier Morel e3c3c42ce2 [IMP] run_tests
* deduplicate addons paths, on runbot the tests are run twice and
  indeed when listing test modules some are listed twice, maybe due to
  duplicated addons paths?

  Test modules:
     openerp.tests.test_mail_examples
     openerp.tests.test_uninstall
     openerp.addons.web.tests.test_js
     openerp.addons.website.tests.test_requests
     openerp.addons.project.tests.test_project_base
     openerp.addons.web.tests.test_js
     openerp.addons.website.tests.test_requests
     openerp.addons.project.tests.test_project_base

* flush stdout after having printed test modules list to try and
  ensure it appears before the tests result (the TextTestRunner
  outputs to stderr and this gets flushed a lot as there's a huge
  amount of data going into it)

bzr revid: xmo@openerp.com-20131106134032-m85o6osa7ezgizt9
2013-11-06 14:40:32 +01:00
Xavier Morel 4abde33785 [IMP] always print a recap of found test modules before running the tests
bzr revid: xmo@openerp.com-20131106130743-xpy9i34b5xceo8ee
2013-11-06 14:07:43 +01:00
Xavier Morel 6906d24e17 [FIX] stray tabs in openerpcommand
bzr revid: xmo@openerp.com-20131105140421-jtg9xa0lcxuix45z
2013-11-05 15:04:21 +01:00
Xavier Morel 3a51d98210 [FIX] correctly handle listification of args.addons
bzr revid: xmo@openerp.com-20131105140109-nzohz5z83mknhtgl
2013-11-05 15:01:09 +01:00
Xavier Morel 5b59611dd3 [IMP] run-tests: add --slow-suite
* make --fast-suite, --sanity-checks and --slow-suite exclusive at
  argument parsing time
* split module directly in the argument parser

bzr revid: xmo@openerp.com-20131105135534-kzwph02kwxl77ivf
2013-11-05 14:55:34 +01:00
Christophe Simonis ab93864dfc [FIX] oe: listing of modules only take directories having a __openerp__.py file
bzr revid: chs@openerp.com-20131031152716-sda5397b4n0be1ih
2013-10-31 16:27:16 +01:00
Stephane Wirtel f8c0310d8e [FIX] Use psycogreen instead of gevent-psycopg2
green-psycopg2 has been deprecated by the developer, he asks to use an
alternative, in this case, the alternative is psycogreen
https://bitbucket.org/dvarrazzo/psycogreen

bzr revid: stw@openerp.com-20130909131123-u0gqhvxqwv13yqke
2013-09-09 15:11:23 +02:00
niv-openerp f1b47a3e0e Added grunt-tests command
bzr revid: nicolas.vanhoren@openerp.com-20130729150553-ps7w9g6fuqx4qxes
2013-07-29 17:05:53 +02:00
Vo Minh Thu da38583b82 [IMP] oe initialize: add a file lock to protect concurrent access to the template db when creating a new db (useful when multiple oe initialize are performed at the same time).
bzr revid: vmt@openerp.com-20130621132411-r6trrt5kd8c4fbca
2013-06-21 15:24:11 +02:00
Vo Minh Thu e6a0631977 [FIX] oe: better filter of potential modules in addons paths.
bzr revid: vmt@openerp.com-20130507084941-afovplgo507holzl
2013-05-07 10:49:41 +02:00
Raphael Collet 05851d21ba [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073017-x6e4h8xbvmy3ofdw
2013-04-11 09:30:17 +02:00
Vo Minh Thu 307ca374d6 [MERGE] forward merge 7.0 until revision 4919.
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Raphael Collet 09be864f1d [IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Vo Minh Thu c313b4073a [REF] logging: removed pseudo log-level TEST.
When --test-enable is used, it is expected that test output is visible,
thus using log-level INFO is natural.

On the down side you lose the nice blue hint that tests did actually
run when --log-level test was given.

bzr revid: vmt@openerp.com-20130326155844-83e2tcqokvblr0ln
2013-03-26 16:58:44 +01:00
Vo Minh Thu 1f269d0d93 [FIX] oe drop: correctly call netsvc.init_logger(), and use pid instead of procpid under postgres 9.2.
bzr revid: vmt@openerp.com-20130219151613-k0pvlemire9kvrok
2013-02-19 16:16:13 +01:00
Vo Minh Thu 69fefde965 [IMP] The open openerp namespace is removed.
bzr revid: vmt@openerp.com-20130209060246-o7qs51c2uc0kecjo
2013-02-09 07:02:46 +01:00
Vo Minh Thu 6e9025cbea [IMP] oe initialize: added --coverage flag.
bzr revid: vmt@openerp.com-20130123163641-uumkklqpaxkyvsr8
2013-01-23 17:36:41 +01:00
Vo Minh Thu 59e0ef08c4 [IMP] oe read: use common.set_addons().
bzr revid: vmt@openerp.com-20130121162701-1230alp0cc2l2u5e
2013-01-21 17:27:01 +01:00
Vo Minh Thu 9d56c47916 [IMP] oe read: use the environment if --addons is not provided.
bzr revid: vmt@openerp.com-20130121154107-uwa6pfowzks106xp
2013-01-21 16:41:07 +01:00
Vo Minh Thu 8a27967525 [IMP] oe web: handle SIGINT and somewhat SIGTERM for the gevent case.
bzr revid: vmt@openerp.com-20130121153540-wnlnz7u8ypwg165i
2013-01-21 16:35:40 +01:00
Vo Minh Thu 669885ce68 [IMP] oe web: use openerp/__init__ instead of tools.config to store the gevent flag (similarly to the multi_procsess flag).
bzr revid: vmt@openerp.com-20130118153235-hj6ttxargln4he4c
2013-01-18 16:32:35 +01:00
Vo Minh Thu 8b8f9249b5 [FIX] oe web: always set gevent in tools.config.
bzr revid: vmt@openerp.com-20130118140053-d38r8zjhjatykhcz
2013-01-18 15:00:53 +01:00
Vo Minh Thu 24878795fe [IMP] oe web/cron: slight refactor.
bzr revid: vmt@openerp.com-20130118121619-be5n01rieac11oru
2013-01-18 13:16:19 +01:00
Vo Minh Thu f6e2a1314c [IMP] oe cron: use setproctitle, set openerp.multi_process.
bzr revid: vmt@openerp.com-20130116132541-r655evhfrptxxyxl
2013-01-16 14:25:41 +01:00
Vo Minh Thu b146cd6fec [ADD] oe: added cron sub-command to run a single process dedicated to cron jobs.
bzr revid: vmt@openerp.com-20130115140110-fwu7yb2v0sj3oqqv
2013-01-15 15:01:10 +01:00
Vo Minh Thu 40c02c12b6 [IMP] oe web: option to use gevent WSGI server.
bzr revid: vmt@openerp.com-20130111161216-visss6da671f0qup
2013-01-11 17:12:16 +01:00
Vo Minh Thu 8119d89200 [ADD] oe web: run an OpenERP web process.
bzr revid: vmt@openerp.com-20130111153113-ue2ybx33e2gh99sx
2013-01-11 16:31:13 +01:00
Vo Minh Thu 3da57500c2 [ADD] oe: provides sane (unfucked) command-line interface.
The implementation is far from perfect. Some improvements are waiting in
its previous location: lp:~openerp/openerp-command.

Some docs are provided, see doc/openerp-command.rst and
doc/adding-command.rst.

bzr revid: vmt@openerp.com-20130111134657-im2f3uqjluyo4pm6
2013-01-11 14:46:57 +01:00