holger krekel
d9ad2cf761
merging the new function generators, addresses issue 2
...
- introduce a new pytest_genfuncruns hook for generating tests with multiple funcargs
- new and extended docs: doc/test/funcargs.txt
- factor all funcargs related code into py/test/funcargs.py
- remove request.maketempdir call (you can use request.config.mktemp)
--HG--
branch : trunk
2009-05-11 19:23:57 +02:00
holger krekel
541b35270f
care for threading module being set to None already during finalization
...
--HG--
branch : trunk
2009-05-10 21:36:13 +02:00
holger krekel
8182d341a5
rename "api" into "hook" in most places.
...
--HG--
branch : trunk
2009-05-07 18:01:53 +02:00
holger krekel
6b1b3a3494
fix funcarg usage in execnet, regen setup
...
--HG--
branch : trunk
2009-04-14 23:01:46 +02:00
hpk
58cc8c29d3
[svn r63914] py.log._apiwarn is fine enough because it's something
...
of an py lib internal api deprecation mechanism atm.
--HG--
branch : trunk
2009-04-09 22:34:28 +02:00
hpk
2ffb68c177
[svn r63913] make py.log.APIWARN available
...
--HG--
branch : trunk
2009-04-09 22:32:04 +02:00
hpk
cd322bd528
[svn r63889] renaming/streamlining missing event usage
...
--HG--
branch : trunk
2009-04-09 02:45:46 +02:00
hpk
ae412d3757
[svn r63874] remove redundant code
...
--HG--
branch : trunk
2009-04-08 21:54:56 +02:00
hpk
66c64e6b97
[svn r63869] * moving execnet events to become api plugin calls.
...
* defining Execnet hooks in an explicit API
--HG--
branch : trunk
2009-04-08 19:50:14 +02:00
hpk
b6b060c1d0
[svn r63845] introduce new _pytest plugin that allows to selectively record
...
plugin calls and do assertions about them.
--HG--
branch : trunk
2009-04-08 17:15:56 +02:00
hpk
662e6905ef
[svn r63359] change funcargs naming to use __
...
--HG--
branch : trunk
2009-03-26 13:50:12 +01:00
hpk
8230a39b39
[svn r63338] rename pyfuncarg to funcarg
...
--HG--
branch : trunk
2009-03-26 10:16:30 +01:00
hpk
33b283327d
[svn r63302] avoiding a (what i think mostly) mac python setup issue
...
--HG--
branch : trunk
2009-03-24 23:40:04 +01:00
hpk
4863c08746
[svn r63242] fails on windows, unncessary to test anyway
...
--HG--
branch : trunk
2009-03-23 17:24:10 +01:00
hpk
82630c37a8
[svn r63232] nicer repr for gateway._rinfo() informatio about remote location
...
--HG--
branch : trunk
2009-03-23 16:01:15 +01:00
hpk
af39c9850e
[svn r63219] fixing tests to care for underlying symlinked working directories
...
--HG--
branch : trunk
2009-03-23 03:07:53 +01:00
hpk
2c2bfb5513
[svn r63210] * implement "--dist=each" to distribute each to each available node
...
* improved node-management and nice showing of results
* streamline command line options
--HG--
branch : trunk
2009-03-22 21:44:45 +01:00
hpk
6a1db0a594
[svn r63162] all tests pass again, output on test node setup and initialization is now much nicer.
...
--HG--
branch : trunk
2009-03-21 02:31:27 +01:00
hpk
c8da61a7d3
[svn r63149] always have a default chdir
...
--HG--
branch : trunk
2009-03-20 18:14:45 +01:00
hpk
78d1836d80
[svn r63148] add a __repr__ for xspecs
...
--HG--
branch : trunk
2009-03-20 17:58:32 +01:00
hpk
a4c14e83f0
[svn r63147] get rid of old method for specifying remote execution places.
...
--HG--
branch : trunk
2009-03-20 17:28:14 +01:00
hpk
9cd41c91bd
[svn r63145] add support for "chdir"
...
--HG--
branch : trunk
2009-03-20 16:52:39 +01:00
hpk
e383082b5b
[svn r63144] have socket and ssh gateways
...
--HG--
branch : trunk
2009-03-20 16:36:45 +01:00
hpk
5f3fac94b6
[svn r63141] makegateway works for plain popen and popen+python-version
...
--HG--
branch : trunk
2009-03-20 15:20:40 +01:00
hpk
265e7c5dc2
[svn r63139] make _rinfo() cache results by default
...
--HG--
branch : trunk
2009-03-20 15:04:15 +01:00
hpk
8d8a73784c
[svn r63137] a helper some basic remote info
...
--HG--
branch : trunk
2009-03-20 14:41:43 +01:00
hpk
764b85f23e
[svn r63136] better grouping of gateway public API
...
--HG--
branch : trunk
2009-03-20 14:31:02 +01:00
hpk
250f17b609
[svn r63135] adding a new gateway specification method
...
--HG--
branch : trunk
2009-03-20 14:22:07 +01:00
hpk
22b4ff7f06
[svn r63104] * introduce rsync events
...
* only rsync once if a gateway is specified multiply
--HG--
branch : trunk
2009-03-20 01:34:59 +01:00
hpk
a94359c791
[svn r63091] report some more info on dist-setup
...
shift comments
--HG--
branch : trunk
2009-03-19 19:25:13 +01:00
hpk
6f2cca80ae
[svn r63089] factor out MultiChannel and MultiGateway helpers
...
--HG--
branch : trunk
2009-03-19 18:05:41 +01:00
hpk
6b9bf26536
[svn r63061] dont print too much info on non-debug
...
--HG--
branch : trunk
2009-03-19 10:57:19 +01:00
hpk
a57836f1eb
[svn r63060] execnet really needs to improve its bootstrapping
...
--HG--
branch : trunk
2009-03-19 10:56:40 +01:00
hpk
d9242d2a75
[svn r63054] several windows fixes, test suite passes now remotely.
...
--HG--
branch : trunk
2009-03-18 21:49:38 +01:00
hpk
f013f0a54b
[svn r63050] * disabled classes or modules will now lead to a skip during setup of the colitem
...
* more graceful handling when "ssh" is not present
--HG--
branch : trunk
2009-03-18 18:54:45 +01:00
hpk
941d06e509
[svn r63040] try harder to record and auto-exit gateways after test runs
...
--HG--
branch : trunk
2009-03-18 16:51:55 +01:00
hpk
ee52739b17
[svn r63034] fixing some tests to work across python revisions
...
--HG--
branch : trunk
2009-03-18 15:35:51 +01:00
hpk
772658d616
[svn r63028] allow py.test --exec=python2.4 -n 3 to work
...
and fix some bugs from doing so.
--HG--
branch : trunk
2009-03-18 13:05:18 +01:00
hpk
87cd94a197
[svn r63027] new API:
...
py.execnet.MultiGateway
py.execnet.MultiChannel
py.execnet.GatewaySpec
with some docs and streamlined tests.
--HG--
branch : trunk
2009-03-18 12:18:39 +01:00
hpk
5803072b96
[svn r63024] don't close_fds by default
...
--HG--
branch : trunk
2009-03-18 09:10:06 +01:00
hpk
6f93561002
[svn r63020] allow to specify python executable in gatewayspecs, fix a few tests
...
--HG--
branch : trunk
2009-03-18 02:13:07 +01:00
hpk
9a47f06a59
[svn r63016] * fix setattr on apimodules
...
* higher timeout
--HG--
branch : trunk
2009-03-18 00:34:59 +01:00
hpk
c3e5ca560a
[svn r63014] streamlining multichannel interface, fixing test work with -n 3
...
--HG--
branch : trunk
2009-03-17 23:41:56 +01:00
hpk
8a8ae5fe5d
[svn r62994] introducing internal MultiGateway class
...
--HG--
branch : trunk
2009-03-17 12:53:09 +01:00
hpk
b5a1f95856
[svn r62978] * introduce --hosts and --rsyncdirs optiosn
...
* re-sort option groups, disable some options for now
* add docstrings to execnet gatewaymanage
* streamline tests a bit
* unify debugging and tracing
--HG--
branch : trunk
2009-03-16 22:17:14 +01:00
hpk
f01040b193
[svn r62975] - use "popen" instead of localhost if you want popen-gateways
...
- have a default joinpath
--HG--
branch : trunk
2009-03-16 17:53:52 +01:00
hpk
a743caef18
[svn r62487] merging hostmanage branch:
...
* cleanup of the way distributed/remote sessions are setup up
* simplified config pickling
* configs are now more correctly wired on receival at remote sides
* introduced py.__.execnet.gwmanage helps managing calls to multiple hosts
* grouping all pickling related tests in test_pickle.py
and showcasing a nice pyfunc_call hack
--HG--
branch : trunk
2009-03-03 18:42:32 +01:00
hpk
c17a09adaf
[svn r62211] merge 60797:HEAD of pytestplugin branch:
...
this merge contains:
* a new plugin architecture
* a pluginized pytest core
* many pytest related refactorings
* refactorings/streamlining of pytest's own tests
--HG--
branch : trunk
2009-02-27 11:18:27 +01:00
getxsick
1c85d7fe9a
[svn r61975] subprocess is in stdlib since 2.4
...
for backwards compatibility we use compat.subprocess if needed
--HG--
branch : trunk
2009-02-17 18:24:41 +01:00
getxsick
51e14dd1b0
[svn r61954] removed of using some deprecated modules/functions from stdlib.
...
used subprocess instead (the module is included to stdlib since 2.4)
--HG--
branch : trunk
2009-02-16 20:30:14 +01:00