Commit Graph

2112 Commits

Author SHA1 Message Date
hpk 7213771cc9 [svn r38122] fix parsing of extra lines (to be executed)
--HG--
branch : trunk
2007-02-07 22:31:13 +01:00
fijal 461c0b6a54 [svn r38121] Same issue. Race conditions in file write. Probably we should not use
the same file output for multiple tests (or to put data directory outside
pylib itself).

--HG--
branch : trunk
2007-02-07 21:56:51 +01:00
fijal e5091b7e9d [svn r38120] Make sure that those test run on same machine when run.
(This is broader issue - we probably need to do some exclusive
lock on files given to process_rest_file and such)

--HG--
branch : trunk
2007-02-07 21:53:57 +01:00
hpk 6477b43d9b [svn r38119] avoid clashing the sample* prefix which is used by a listdir() test
--HG--
branch : trunk
2007-02-07 21:52:09 +01:00
hpk 1390114d82 [svn r38118] there is no gurantee anymore that tests run in order
--HG--
branch : trunk
2007-02-07 21:48:49 +01:00
fijal 1a33d1eae6 [svn r38117] call "python py.test" instead of "py.test" (does not rely on +x flag)
--HG--
branch : trunk
2007-02-07 21:41:55 +01:00
hpk 3049c6bd2a [svn r38116] fixing svn tests for -d runs (which usually
is a dependency problem)

--HG--
branch : trunk
2007-02-07 21:40:37 +01:00
fijal 60455ead56 [svn r38115] Call python directly
--HG--
branch : trunk
2007-02-07 21:40:09 +01:00
fijal cbfca77f39 [svn r38114] Kill fatals()
to be considered in future

--HG--
branch : trunk
2007-02-07 21:14:06 +01:00
fijal 1e6016ccc2 [svn r38113] Make fatal() attribute which makes boxed tests catch SystemExit, while
in-process let it slide.

--HG--
branch : trunk
2007-02-07 21:04:01 +01:00
fijal 632cc727e4 [svn r38112] This time don't catch SystemExit. Increases stability
--HG--
branch : trunk
2007-02-07 20:53:03 +01:00
hpk 028ffa53b2 [svn r38111] remove test order dependency
--HG--
branch : trunk
2007-02-07 20:52:14 +01:00
hpk 07db3fd2cc [svn r38110] i don't think one needs to use svnwc's anymore,
at least it works for me, i think.

--HG--
branch : trunk
2007-02-07 20:41:50 +01:00
hpk f07e482ddb [svn r38109] bailing out the optimize_localhost approach
to consider it differently

--HG--
branch : trunk
2007-02-07 20:36:41 +01:00
hpk d614e67fb1 [svn r38108] skip this test if we have no .svn dir
--HG--
branch : trunk
2007-02-07 20:28:29 +01:00
fijal 1d6a72d936 [svn r38107] * Have optimise_localhost flag and a test for it (but not turning it on
by default, this will be done later)
* two other occurences of possibly-failing channel.send

--HG--
branch : trunk
2007-02-07 20:24:38 +01:00
hpk d791086561 [svn r38106] making tests independent of --dist implications
--HG--
branch : trunk
2007-02-07 20:16:28 +01:00
fijal 8258b40fd6 [svn r38105] Make errors bright red and bold, easier to spot.
--HG--
branch : trunk
2007-02-07 20:14:10 +01:00
hpk 47aea3ca7b [svn r38104] fixing this so "py.test -s" passes on this as well
--HG--
branch : trunk
2007-02-07 20:04:35 +01:00
fijal 5b188f1167 [svn r38103] Hum. This test was just broken. Fix it and add additional checks.
--HG--
branch : trunk
2007-02-07 20:02:21 +01:00
fijal c5df4c335c [svn r38102] Skip this test not to interfere with py.test.config.boxed
--HG--
branch : trunk
2007-02-07 19:56:48 +01:00
fijal 3bb0c2b433 [svn r38101] oops, this will be implied anyway
--HG--
branch : trunk
2007-02-07 19:56:10 +01:00
fijal d7331146da [svn r38100] Slave is always boxed as well (different level of skips)
--HG--
branch : trunk
2007-02-07 19:55:39 +01:00
fijal ee1214fcfe [svn r38099] * RSession cannot work with nocapture, LSession can
* RSession is always boxed

--HG--
branch : trunk
2007-02-07 19:54:51 +01:00
fijal ecd605e3b2 [svn r38098] A test and typo discovered by that test.
--HG--
branch : trunk
2007-02-07 19:44:49 +01:00
hpk 77b8a010c5 [svn r38097] streamline boxed test configuration:
"config.option.boxed"  indicates now boxed tests
and RSession.fixoptions takes care to honour
dist_boxed accordingly.  So you can do

    if not py.test.config.boxed:
        py.test.skip(...)

i also fixed the documentation.

--HG--
branch : trunk
2007-02-07 19:43:23 +01:00
fijal ae9ffd2c19 [svn r38096] typo
--HG--
branch : trunk
2007-02-07 19:40:16 +01:00
fijal 6e58395de0 [svn r38095] getremoteerror does not raise!
--HG--
branch : trunk
2007-02-07 19:36:53 +01:00
fijal 337eea81cb [svn r38091] Increase verbosity in case of error. The thing is that we usually don't get
remote error, so let's print it.

--HG--
branch : trunk
2007-02-07 19:25:01 +01:00
hpk 07ee2bc39e [svn r38083] saner tempdir using
--HG--
branch : trunk
2007-02-07 18:58:47 +01:00
fijal 40eb468c71 [svn r38082] Fix reporting (and a test for that)
--HG--
branch : trunk
2007-02-07 17:49:14 +01:00
guido eeedfd2d8f [svn r38079] Typo in some help string, and made fonts of apigen a bit smaller somewhere.
--HG--
branch : trunk
2007-02-07 17:03:19 +01:00
hpk 0b7854d722 [svn r38078] some fixes and test skips for win32 (otherwise all tests
pass for me on win32)

--HG--
branch : trunk
2007-02-07 16:54:50 +01:00
guido d11aec0b42 [svn r38077] Script to run "py.test --apigen" on the py lib (well, can be used on other
projects too) and rsync the results to some remote host/path (by default
codespeak.net, currently to some dir in my home directory, when it's tested
better in practice files will go to the website directory).

--HG--
branch : trunk
2007-02-07 16:36:02 +01:00
guido 5c7fb384bc [svn r38076] Typo.
--HG--
branch : trunk
2007-02-07 16:34:01 +01:00
guido d0861a546f [svn r38075] Adding some print.
--HG--
branch : trunk
2007-02-07 16:33:46 +01:00
hpk 0fb86b2b90 [svn r38074] fix typo
--HG--
branch : trunk
2007-02-07 16:26:27 +01:00
guido 1b43f3c324 [svn r38070] Removed broken anchor from link.
--HG--
branch : trunk
2007-02-07 16:24:11 +01:00
guido b8307eeccc [svn r38068] Grmbl, the failing svn tests turned out to be my fault: copy/paste bug. (when
copying the comment, I must have copied along some lines of code... ):

--HG--
branch : trunk
2007-02-07 16:15:01 +01:00
fijal 4fae2f581d [svn r38051] Fix an option -s contradics -d
--HG--
branch : trunk
2007-02-07 12:34:08 +01:00
guido 318a1c2333 [svn r38044] Now just writing dots when running tests, decreased font size a little of the
class docstring and link.

--HG--
branch : trunk
2007-02-07 02:01:25 +01:00
guido 8ab4468b5c [svn r38043] Changed the way the lazy linking is handled: instead of building the pages
and replacing the links all in memory, pages are now written to disk with
temporary hrefs, which are replaced afterwards.

--HG--
branch : trunk
2007-02-07 01:24:21 +01:00
fijal b91e13d5df [svn r38040] My favorite lazy-lexical-scope-binding error. Still thinking how to make test
for that. Basically - callbacks with lexical scope variables are usually
(depends of coz) called with variables after the for loop has finished.

--HG--
branch : trunk
2007-02-07 00:13:50 +01:00
fijal 3fa9cbe98d [svn r38039] Fix a test
--HG--
branch : trunk
2007-02-07 00:00:24 +01:00
hpk 89a14afcbe [svn r38038] more precise rsyncing
--HG--
branch : trunk
2007-02-06 22:41:11 +01:00
hpk c888d05772 [svn r38037] not showing rsync-items by default, shows that
something is odd regarding the messages, i think
(read the diff, it's a simple change, i guess
we actually want to generate an Event also for
the web reporter at some point, i think,
but we could live with this for the merge IMO)

--HG--
branch : trunk
2007-02-06 22:22:50 +01:00
guido 12b991723e [svn r38036] Some small code cleanups (moved more HTML generation code to html.py).
--HG--
branch : trunk
2007-02-06 22:18:56 +01:00
hpk 563ed75651 [svn r38035] be more precise when reporting about hosts
(enumerate them)

--HG--
branch : trunk
2007-02-06 22:12:36 +01:00
hpk 1d4a46d46a [svn r38034] i think the rsync roots should be shown absolute
--HG--
branch : trunk
2007-02-06 21:47:21 +01:00
fijal ce498a1504 [svn r38033] Fix tests once again
--HG--
branch : trunk
2007-02-06 21:36:03 +01:00