Commit Graph

845 Commits

Author SHA1 Message Date
hpk 96ff172661 [svn r59344] adding an item to consider
--HG--
branch : trunk
2008-10-23 20:24:04 +02:00
arigo 5425dba4e5 [svn r59268] An improvement to pdb (which I should also propose as a CPython patch):
in post_portem, the "up" command isn't normally able to walk up past
generator frames.  This fixes it.

--HG--
branch : trunk
2008-10-20 15:45:10 +02:00
fijal 4e3d14162d [svn r58888] Catch all possible find_source errors
--HG--
branch : trunk
2008-10-10 11:59:31 +02:00
hpk 8650c801a2 [svn r58775] only check for Recursion if we have a RuntimeError
--HG--
branch : trunk
2008-10-07 17:44:56 +02:00
hpk c338420976 [svn r58699] show traceback before jumping into pdb
--HG--
branch : trunk
2008-10-07 11:26:56 +02:00
hpk 1bd4afee0b [svn r58690] * add to TODO, changelog
* regen setup

--HG--
branch : trunk
2008-10-06 21:50:35 +02:00
hpk 4b1c2eec3b [svn r58576] * fix test to not rely on time.time() resolution
* strike some superflous __init__ code

--HG--
branch : trunk
2008-10-02 18:19:04 +02:00
hpk af86caf712 [svn r58517] clarify/better english for the cross-python version namespaces
--HG--
branch : trunk
2008-10-01 11:24:24 +02:00
hpk cf833b023c [svn r58516] fix typo
--HG--
branch : trunk
2008-10-01 11:11:29 +02:00
hpk a80bfae0a1 [svn r58386] adding info for debian and rpm systems
--HG--
branch : trunk
2008-09-23 16:42:27 +02:00
hpk a55332091d [svn r58385] * move cross-platform process kill functionality and move it to
py.process.kill(pid)
* simplify test_auth.py
* use new functionality from some tests

--HG--
branch : trunk
2008-09-23 16:28:13 +02:00
hpk 5b21c540b6 [svn r58384] adding a test for unimplemented recording feature
--HG--
branch : trunk
2008-09-23 16:25:16 +02:00
hpk 0974aa784a [svn r58375] some updates on the filesystem front
--HG--
branch : trunk
2008-09-23 12:41:22 +02:00
hpk 863fff7042 [svn r58360] factor import of xml into one method to deal more gracefully
with implementations that don't have expat.

--HG--
branch : trunk
2008-09-23 08:29:17 +02:00
pedronis ed231f4b1b [svn r58350] use optparse
--HG--
branch : trunk
2008-09-22 22:34:40 +02:00
pedronis aeca93f0b3 [svn r58340] this seems to need to be this way, otherwise a py.lookup from PATH will be used or a failure will occur instead
--HG--
branch : trunk
2008-09-22 21:30:13 +02:00
hpk e63da23050 [svn r58319] be more grateful on tests that disappear during a looponfailing session.
--HG--
branch : trunk
2008-09-22 15:15:47 +02:00
pedronis e4e1e9f26d [svn r58318] (iko, pedronis)
this lives in py.lib trunk proper now

--HG--
branch : trunk
2008-09-22 14:49:41 +02:00
pedronis 8b3fe55158 [svn r58316] (iko, pedronis)
move the FileLogSession into the py.lib proper, activated with the option --resultlog (suggestions
for a better name are welcome)

- added its tests
- plus a functional/integration test in test_config in the style of the one for eventlog

--HG--
branch : trunk
2008-09-22 14:34:54 +02:00
hpk ef5709d30b [svn r58311] remove dead code.
--HG--
branch : trunk
2008-09-21 19:51:44 +02:00
hpk 6cdd88eef6 [svn r58309] fix a test, add a comment (pysvnwcrevert cannot be invoked generically)
--HG--
branch : trunk
2008-09-21 17:24:47 +02:00
hpk cc10d84088 [svn r58308] * de-generalize conditional skips and only care
nicely for common tedious causes of skipping:
  import a module and checking it has a certain
  version.  usage example:

  docutils = py.test.importorskip(docutils, minversion="0.4")

* used new helper and cleanup skipping logic in py lib

--HG--
branch : trunk
2008-09-21 17:15:28 +02:00
hpk fa5c975c00 [svn r58300] adding option to specify namespace for ifraises execution.
--HG--
branch : trunk
2008-09-21 15:43:01 +02:00
hpk 13c7fb6709 [svn r58298] move and update TODO file
--HG--
branch : trunk
2008-09-21 14:51:32 +02:00
hpk e77fab82ee [svn r58297] add a new way of conditionally skipping a test:
py.test.skip(ifraises="...")

see more info in the added doc.

also remove a redundant raises test and
cleanup raises code a bit.

--HG--
branch : trunk
2008-09-21 14:50:56 +02:00
hpk cdb8fa1abe [svn r58288] update TODOs, docstring
--HG--
branch : trunk
2008-09-21 10:17:11 +02:00
hpk eebb9d7257 [svn r58287] add a test for __version__ attr
--HG--
branch : trunk
2008-09-21 09:19:30 +02:00
hpk 634679a4db [svn r58286] also contain URL
--HG--
branch : trunk
2008-09-21 09:18:39 +02:00
hpk 029451edab [svn r58285] add docstring and version info
--HG--
branch : trunk
2008-09-21 09:17:00 +02:00
hpk ad89dfc565 [svn r58284] make sure that "test" prefix is enough.
--HG--
branch : trunk
2008-09-21 08:40:54 +02:00
hpk 94f1abbbb0 [svn r58225] remove outdated comment.
--HG--
branch : trunk
2008-09-18 18:12:18 +02:00
hpk cf007ce7c5 [svn r58224] remove redundant py import, thanks getxsick
--HG--
branch : trunk
2008-09-18 17:41:19 +02:00
pedronis fa5d4dfe92 [svn r58211] allow to specify filenames that need to be preserved
--HG--
branch : trunk
2008-09-17 22:29:35 +02:00
pedronis 33b0390ee6 [svn r58190] adding arigo/hacks/svnwcrevert as a py.svnwcrevert script on py lib trunk
--HG--
branch : trunk
2008-09-17 10:50:04 +02:00
pedronis 3f7588948c [svn r58113] typo
--HG--
branch : trunk
2008-09-13 16:48:56 +02:00
pedronis a46929a02a [svn r58112] helper to add the required option
--HG--
branch : trunk
2008-09-13 16:46:15 +02:00
pedronis 89814706bc [svn r58111] make the tests runnable also under pypy
--HG--
branch : trunk
2008-09-13 16:38:06 +02:00
arigo 2a706fc8ae [svn r58108] A hyperthreaded cpu core should only count as 1, although it is present as 2
entries in /proc/cpuinfo.  Counting it as 2 is misleading because it is *by
far* not as efficient as two independent cores.

--HG--
branch : trunk
2008-09-13 16:23:30 +02:00
pedronis bb9b0e7361 [svn r58107] first step in moving experimental filelog session into contrib
--HG--
branch : trunk
2008-09-13 15:39:36 +02:00
arigo 7afc30d130 [svn r58095] (pedronis, arigo)
KeyboardInterrupt handling:

    * in --verbose mode, print a detailed traceback at the end of
      the report.

    * in non-verbose mode, only print the file name and line number
      where the KeyboardInterrupt occurred.  That's the minimal
      amount of information that is of any help at all to locate
      an infinite loop somewhere.

--HG--
branch : trunk
2008-09-12 22:35:18 +02:00
arigo f12b795147 [svn r58094] (pedronis, arigo)
Partial revert: don't print traceback failures after
InternalExceptions.

--HG--
branch : trunk
2008-09-12 22:04:59 +02:00
arigo 2670dac0d2 [svn r58093] (pedronis, arigo)
Show tracebacks for the failures even when py.test is
interrupted by Ctrl-C.

--HG--
branch : trunk
2008-09-12 21:54:41 +02:00
arigo faec0dfa0b [svn r58092] Ensure that the path is printed before the 1st test of
a module starts running (even when -v is not specified).

--HG--
branch : trunk
2008-09-12 21:41:31 +02:00
arigo a9c4c9876c [svn r58091] Minor refactoring of a few methods. The point is to add a couple of
hooks for my conftest.  This is a bit hard to test, and I don't even
know if it's worth a comment, as I'm ready to fix my conftest when
needed.

--HG--
branch : trunk
2008-09-12 21:31:31 +02:00
arigo 2742204d67 [svn r58090] Add a hack with a comment that explains why I think it is a hack.
I fear I don't care enough about --tb=short to do the "proper" fix
as documented in the comment.

--HG--
branch : trunk
2008-09-12 21:16:34 +02:00
hpk 53220afc60 [svn r58037] adding small sysinfo script for retrieving remote host information
through execnet.

--HG--
branch : trunk
2008-09-10 13:28:42 +02:00
hpk 6842e5a769 [svn r58035] allow for passing in ssh_config files, deprecat "identity" argument
--HG--
branch : trunk
2008-09-10 11:48:44 +02:00
hpk 37eea51f59 [svn r58034] introduce APIWARN helper
allow for subscriptions to produced warnings
use it from some places

--HG--
branch : trunk
2008-09-10 11:47:37 +02:00
hpk d2d5bbd918 [svn r58030] check for different output according to cpython version
--HG--
branch : trunk
2008-09-10 00:08:21 +02:00
hpk 3febdb049d [svn r58028] reverting 58009 - webcheck is actually used although not directly tested.
--HG--
branch : trunk
2008-09-09 23:53:38 +02:00