Commit Graph

4995 Commits

Author SHA1 Message Date
cfbolz 9b6787782d [svn r37989] add an overview over py.tests command-line options
--HG--
branch : trunk
2007-02-06 00:50:11 +01:00
hpk 7bc4b6a80e [svn r37988] adding a bit to the test (but the code is already correct)
--HG--
branch : trunk
2007-02-06 00:21:33 +01:00
cfbolz a430e2b8f5 [svn r37987] split the py.test docs into implementation and customization docs and normal
user docs.

--HG--
branch : trunk
2007-02-06 00:18:22 +01:00
fijal cc0dfc1c3c [svn r37986] Add a repr if we have str
Add delete keyword to parent

--HG--
branch : trunk
2007-02-06 00:09:05 +01:00
hpk 4af00f6682 [svn r37985] make sure that host.initgateway() will always
have the other side chdir()ed to home,
thus generalizing 37971 with respect to platform
support and making it independent from gateway
implementation details.

--HG--
branch : trunk
2007-02-05 23:46:31 +01:00
guido 102409a846 [svn r37984] Moved all the apigen information into one document and adjusted to match the
current situation.

--HG--
branch : trunk
2007-02-05 23:37:23 +01:00
fijal 1c287a2546 [svn r37971] This was there for a reason that we don't want to have different pylib loaded (there was even test for that, apparently killed)
--HG--
branch : trunk
2007-02-05 16:11:05 +01:00
hpk 845357dcba [svn r37960] refactored the tests and added tests and code
for disallowing to send() twice without
adding new targets.

--HG--
branch : trunk
2007-02-05 13:55:31 +01:00
hpk 11591c3c4f [svn r37950] * add and document dist_rsync_ignore option to ignore
files and directories for rsyncing

--HG--
branch : trunk
2007-02-05 02:14:17 +01:00
hpk 03dc73b195 [svn r37949] fix test for nocapturing output runs (and --pdb)
--HG--
branch : trunk
2007-02-05 01:47:43 +01:00
hpk 99661844dd [svn r37948] fix for win32
--HG--
branch : trunk
2007-02-05 01:36:00 +01:00
hpk bdf3e919c9 [svn r37947] added _gethomedir() helper to get at homedirectory
--HG--
branch : trunk
2007-02-05 01:35:40 +01:00
hpk 0b9b0909bf [svn r37946] setup/teardown hosts correspond
--HG--
branch : trunk
2007-02-05 01:23:14 +01:00
hpk c93cfc1e2b [svn r37945] make the hostmanager get at the hosts itself
(or you can pass it in a custom list of hosts)

--HG--
branch : trunk
2007-02-05 01:14:11 +01:00
hpk b68bc5b373 [svn r37938] rename report.py to repevent.py (report events)
also to ease the completion ambiguity a bit
(and to avoid having to read "reporter" and "report"
next to each other)

--HG--
branch : trunk
2007-02-05 00:34:23 +01:00
hpk fb2613135b [svn r37936] minor cleanups
--HG--
branch : trunk
2007-02-05 00:21:35 +01:00
hpk e8bdb867fa [svn r37935] remove done_dict and according experimental
code for re-scheduling (i guess)
fijal: in the diff you'll find a XXX fijal,
i changed the meaning of a test, wasn't sure
about it. can you check?

--HG--
branch : trunk
2007-02-05 00:12:12 +01:00
guido 0292420920 [svn r37931] Made that the __init__ method is the first method displayed.
--HG--
branch : trunk
2007-02-04 22:49:44 +01:00
guido 27e05e257a [svn r37930] Docstrings.
--HG--
branch : trunk
2007-02-04 22:47:03 +01:00
guido 7034b507a3 [svn r37928] Updated test (oops).
--HG--
branch : trunk
2007-02-04 22:21:35 +01:00
guido a78ad64f9d [svn r37927] Some docstrings.
--HG--
branch : trunk
2007-02-04 22:11:56 +01:00
guido a1c7ab69f9 [svn r37926] Small visual tweaks.
--HG--
branch : trunk
2007-02-04 22:11:43 +01:00
guido 16f9103a0a [svn r37922] Made that properties (class attributes) are displayed, fixed the links in the
menubar.

--HG--
branch : trunk
2007-02-04 16:47:33 +01:00
hpk a128ecb8cf [svn r37919] use a less ambigous test package name
--HG--
branch : trunk
2007-02-04 16:42:55 +01:00
hpk a7de613ed0 [svn r37916] dist_rsync_roots: py lib itself only needs itself
--HG--
branch : trunk
2007-02-04 15:42:50 +01:00
hpk beb3a12700 [svn r37915] sanity checks
--HG--
branch : trunk
2007-02-04 15:40:46 +01:00
hpk e4f5a2259c [svn r37914] cleaner test setup
--HG--
branch : trunk
2007-02-04 15:36:42 +01:00
guido 98b4dcf155 [svn r37913] Some more cleanups in HTML generation, fixed support for docstrings in
namespaces, in order to do this I had to change the way objects are retrieved:
instead of getting them from the DSA I now walk the package tree, small change
in apigen.py: to allow re-using the get_documentable_items function I split it
up in a generic and a specific part.

--HG--
branch : trunk
2007-02-04 15:35:28 +01:00
guido 7852ead1fe [svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).

--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
hpk 4791dd6501 [svn r37909] a much much much larger refactoring than i originally
intended at this point:

* HostManager and HostRSync are now acting
  more locally, also easier to test.

* HostInfo deals with setting up gateways now

* HostManager, HostRSync and HostInfo are
  all tested now in test_hostmanage.py
  (and do not involve a full startup of RSessions)

* for rsyncing, the original directory structure
  (relative to config.topdir) is preserved on the
  other side, this makes "dist_rsync_roots" relatively
  clean now (but it doesn't pick up things on the fly,
  only initialises at the beginning)

* added lots of tests

* removed more occurences of pkgdir

* streamlined and simplified some tests

* removed lots of tests that do not appear to test
  specifically enough (and caused trouble for
  the refactoring)

* removed lots of (but not all, i guess) test-specific
  functionality in hostmanage.py and a bit in rsession.py

* removed HostOptions() in favour of rather directly
  accessing config values

--HG--
branch : trunk
2007-02-04 15:05:01 +01:00
hpk f2b38db33a [svn r37908] fixing test
--HG--
branch : trunk
2007-02-04 14:54:10 +01:00
arigo 04cf3cdfa0 [svn r37901] make_numbered_dir(): in a fork() situation, only the last process should remove
the .lock, otherwise the other processes run the risk of seeing their temporary
dir disappear.  For now we remove the .lock in the parent only (i.e. we assume
that the children finish before the parent).

This is needed for long-running pypy translate.py processes using
--fork-before.

--HG--
branch : trunk
2007-02-04 14:01:21 +01:00
arigo f13381e3f9 [svn r37899] Try to print the exception before dying.
--HG--
branch : trunk
2007-02-04 13:31:24 +01:00
hpk 41526ad622 [svn r37898] provide a high-level helper for getting
at a pathlist specified in a conftest (and
the paths can be relative to the conftest.py file they
are contained in)

--HG--
branch : trunk
2007-02-04 13:29:26 +01:00
hpk 95f38694cb [svn r37886] hum, i thought i had refactored this option name already ...
also the wrong name does not even cause a test failure. odd.

--HG--
branch : trunk
2007-02-03 21:35:14 +01:00
hpk ee40787bf1 [svn r37885] adding docstrings, stripping non-used names from import
--HG--
branch : trunk
2007-02-03 21:33:12 +01:00
fijal 309f3e2cec [svn r37884] Few missing Skipped
--HG--
branch : trunk
2007-02-03 21:15:55 +01:00
fijal f5308aba2d [svn r37881] Some other stuff goes private
--HG--
branch : trunk
2007-02-03 19:52:21 +01:00
hpk f9b8a810cd [svn r37880] removing public API from test.config (only one rather
internal usage, anyway)

--HG--
branch : trunk
2007-02-03 19:50:35 +01:00
fijal e88a6c5fc3 [svn r37879] s/tryiter/_tryiter/
--HG--
branch : trunk
2007-02-03 19:44:34 +01:00
fijal 1dca2498fb [svn r37877] Intermediate checkin for some privatising of attributes
--HG--
branch : trunk
2007-02-03 19:29:24 +01:00
fijal 46a91b3705 [svn r37876] s/get_collector_trail/_get_collector_trail/
--HG--
branch : trunk
2007-02-03 19:00:04 +01:00
hpk 9f8035656e [svn r37872] StdCaptureFD and StdCapture now try
to take care of stdin in a mostly uniform way.

--HG--
branch : trunk
2007-02-03 14:57:25 +01:00
hpk d6d7eb8704 [svn r37866] small cleanup of ground std* descriptors.
--HG--
branch : trunk
2007-02-03 13:31:47 +01:00
fijal f5d51fb9e0 [svn r37865] more descriptive skip msg
--HG--
branch : trunk
2007-02-03 13:27:48 +01:00
fijal 4db6f4144a [svn r37864] Add a (failing) test about version URL available
--HG--
branch : trunk
2007-02-03 13:25:20 +01:00
fijal 0eb8d103b1 [svn r37863] Ooops, didn't meant to check that in.
--HG--
branch : trunk
2007-02-03 13:15:23 +01:00
fijal 9b62f2290c [svn r37862] Move Skipped/Failed/Passed out of public namespace
--HG--
branch : trunk
2007-02-03 13:14:46 +01:00
fijal 2fe1fa07ff [svn r37861] Skip compat
--HG--
branch : trunk
2007-02-03 13:13:18 +01:00
hpk 1ab92ac3be [svn r37859] separating tests into two files
--HG--
branch : trunk
2007-02-03 12:32:45 +01:00