Commit Graph

6792 Commits

Author SHA1 Message Date
hpk dcf4e564ad [svn r38208] make test safer against race conditiation (dist testing)
--HG--
branch : trunk
2007-02-08 21:56:12 +01:00
hpk ab6dded07a [svn r38207] revert 38182 and 38184 changes to ensuretemp()
because getpid() is different per thread
(and if e.g. run via execnet in threads ...
it creates new tempdirectories all the time)
let's consider this sometime else

--HG--
branch : trunk
2007-02-08 21:31:50 +01:00
hpk 499d60c8ab [svn r38203] rename getpymodule/getpycodeobj to "_" methods
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()

--HG--
branch : trunk
2007-02-08 20:48:31 +01:00
hpk 0a79e56b40 [svn r38201] fixing the windows conftest example to work with
the new rsync interface

--HG--
branch : trunk
2007-02-08 20:23:06 +01:00
hpk 3ea6a768e0 [svn r38198] almost cosmetic
--HG--
branch : trunk
2007-02-08 20:15:05 +01:00
hpk 479aa2e03f [svn r38197] slight reporting fix
--HG--
branch : trunk
2007-02-08 20:10:58 +01:00
hpk 4976889c53 [svn r38196] reducing the callback-indirections for rsyncing
and improving the reporting for localhosts non-rsyncs

--HG--
branch : trunk
2007-02-08 20:02:28 +01:00
hpk 6e293f593a [svn r38192] streamlining localhost optimization handling,
and simplifying the test a bit.

--HG--
branch : trunk
2007-02-08 19:35:18 +01:00
hpk 411157756b [svn r38184] avoid globals and add a comment
--HG--
branch : trunk
2007-02-08 18:39:03 +01:00
guido 1c1df46a55 [svn r38183] Made that py.execnet.Channel (referring to py.__.execnet.channel.Channel) is
picked up by the apigen doc generator, fixed some bugs that made that that
didn't work previously.

--HG--
branch : trunk
2007-02-08 18:28:55 +01:00
guido e89d5e5880 [svn r38182] Made that ensuretemp() creates a new dir after forks.
--HG--
branch : trunk
2007-02-08 18:25:32 +01:00
hpk 1e8845dfa5 [svn r38181] delete is now an option per-host
--HG--
branch : trunk
2007-02-08 18:24:30 +01:00
guido 9b22af1b32 [svn r38179] Allowing to rsync also when tests are failing using a --ignorefail switch, and
added a --help switch that shows a short help message.

--HG--
branch : trunk
2007-02-08 17:28:33 +01:00
hpk 7fccd77b8a [svn r38176] make delete a per-host option (internally it is anyway)
--HG--
branch : trunk
2007-02-08 17:04:58 +01:00
fijal c18ab8fd7e [svn r38175] Fix
--HG--
branch : trunk
2007-02-08 17:02:15 +01:00
fijal e3dce2c288 [svn r38174] Flag instead of new method and a test.
--HG--
branch : trunk
2007-02-08 17:01:51 +01:00
fijal 27cf3997e3 [svn r38173] * Minor semantics change, now host and host: are the same (we don't
want to rsync to home dir usually)
* Make a flag rsync_flag in hostinfo which tells whether to rsync
  or no, semantics are that in case of localhost we do not rsync
  and in case of localhost: we do.

--HG--
branch : trunk
2007-02-08 16:56:33 +01:00
fijal 120dae7749 [svn r38172] Add a method which sends only if there are available targets
--HG--
branch : trunk
2007-02-08 16:54:53 +01:00
fijal 395d97160c [svn r38165] Update this as well
--HG--
branch : trunk
2007-02-08 16:35:11 +01:00
fijal 0e8510648f [svn r38164] Move source as an rsync initialisation argument rather than
as a send parameter

--HG--
branch : trunk
2007-02-08 16:31:38 +01:00
guido db4a19f473 [svn r38151] Small change in the text to make it a bit more understandable.
--HG--
branch : trunk
2007-02-08 16:14:52 +01:00
guido f8e50aabad [svn r38150] Fixed test that failed after the last change in apigen (removing the stacks
from the callable info boxes).

--HG--
branch : trunk
2007-02-08 16:14:21 +01:00
guido fff15f50f3 [svn r38148] Made that stacks are built on seperate pages instead of inline in the function
information, to avoid having > 5MB pages...

--HG--
branch : trunk
2007-02-08 15:52:49 +01:00
guido 46f8c56c9b [svn r38144] Fixed a problem with the linker which on building api/source docs found matches
in its own source code, moved some elements in the apigen docs out of a header
where they shouldn't have been (making the font too large).

--HG--
branch : trunk
2007-02-08 14:54:38 +01:00
guido 9643b7d6f8 [svn r38143] Removed some confusing output to stdout/stderr (output of failing tests, which
are part of a test that tests whether a set of tests ran by a nested py.test
process fails... so the failing output is correct).

--HG--
branch : trunk
2007-02-08 14:51:38 +01:00
guido 5ea9a43dce [svn r38142] Fixed problem with indentation in the results of a doctest.
--HG--
branch : trunk
2007-02-08 14:47:23 +01:00
guido fd0cbdb95a [svn r38140] Empty literal blocks are not allowed: removing them.
--HG--
branch : trunk
2007-02-08 13:26:02 +01:00
hpk 938680d50f [svn r38125] run unboxed by default, split/improve tests for it
--HG--
branch : trunk
2007-02-07 22:56:14 +01:00
fijal ee04997eb2 [svn r38124] No, this is needed for C-c to work.
--HG--
branch : trunk
2007-02-07 22:35:14 +01:00
hpk 356b831208 [svn r38123] skip path.txt svn tests if not run via --checkremote
--HG--
branch : trunk
2007-02-07 22:32:30 +01:00
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