Commit Graph

102 Commits

Author SHA1 Message Date
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 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 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 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
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
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 f07e482ddb [svn r38109] bailing out the optimize_localhost approach
to consider it differently

--HG--
branch : trunk
2007-02-07 20:36:41 +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
fijal 8258b40fd6 [svn r38105] Make errors bright red and bold, easier to spot.
--HG--
branch : trunk
2007-02-07 20:14:10 +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
fijal 40eb468c71 [svn r38082] Fix reporting (and a test for that)
--HG--
branch : trunk
2007-02-07 17:49:14 +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 d0861a546f [svn r38075] Adding some print.
--HG--
branch : trunk
2007-02-07 16:33:46 +01:00
fijal 4fae2f581d [svn r38051] Fix an option -s contradics -d
--HG--
branch : trunk
2007-02-07 12:34:08 +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
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
hpk 50c6e97e1c [svn r38032] simplified testing machinery a bit
(you know just have to add an example
and can immediately use it from tests
without adding boilerplate anywhere)

--HG--
branch : trunk
2007-02-06 21:28:07 +01:00
fijal b7b83bf007 [svn r38031] refactor rest of tests
--HG--
branch : trunk
2007-02-06 21:21:09 +01:00
fijal 439b0c2378 [svn r38030] Refactor this test to use new testing service
--HG--
branch : trunk
2007-02-06 21:13:57 +01:00
fijal 8fd09aac24 [svn r38029] Move funcxxxspec out of pylib itself.
--HG--
branch : trunk
2007-02-06 21:05:55 +01:00
hpk ef43218016 [svn r38027] more precise reporting to the user
--HG--
branch : trunk
2007-02-06 20:15:33 +01:00
fijal 63bbe18a7e [svn r38025] Fix a bit web reporter (still not perfect)
--HG--
branch : trunk
2007-02-06 20:11:12 +01:00
hpk 1945487f4a [svn r38024] avoid that hostmanage.py tests interfere
with the real world (through writing or creating
pytestcache-XXX files), semantic change: upon
gateway initialization the remote path is not
automatically created (this will be done later
by rsync anyway)

--HG--
branch : trunk
2007-02-06 20:06:57 +01:00
fijal 138b0ec79a [svn r38023] Report HostRSyncing only in case where rsyncing is really performed.
--HG--
branch : trunk
2007-02-06 20:01:07 +01:00
fijal 540736b493 [svn r38022] be a bit more verbose before rsync.
--HG--
branch : trunk
2007-02-06 19:57:14 +01:00
fijal f69c77a7ab [svn r38021] Simple refactoring to be a bit more verbose when starting.
--HG--
branch : trunk
2007-02-06 19:44:16 +01:00
fijal 410e00320d [svn r38000] Fix web reporter
--HG--
branch : trunk
2007-02-06 12:15:06 +01:00
fijal fef23c34cd [svn r37994] Imrpovement of host rsync reporting. Additionally it increased stability for no particular reason
--HG--
branch : trunk
2007-02-06 11:31:08 +01:00
fijal eb01cfa78e [svn r37990] Fix reporting (and a test for that)
--HG--
branch : trunk
2007-02-06 00:53:29 +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
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
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 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