Commit Graph

6567 Commits

Author SHA1 Message Date
hpk 0fcaebd17c [svn r37287] don't eat exception, simply use finally
--HG--
branch : trunk
2007-01-24 18:48:13 +01:00
fijal fc740689d7 [svn r37286] Pass a config object deeper in hierarchy
--HG--
branch : trunk
2007-01-24 18:30:29 +01:00
hpk 73ffa14ac9 [svn r37285] this file describing option is obsolete now
--HG--
branch : trunk
2007-01-24 18:24:21 +01:00
hpk 8a240d01f9 [svn r37281] omit tracer test directory for imports
(XXX example Filesystem trees should be created
from code and not reside in SVN)

--HG--
branch : trunk
2007-01-24 18:10:32 +01:00
hpk 7cf9824680 [svn r37278] move files from branch to trunk (and thus complete
the merge of the config branch into the trunk)

--HG--
branch : trunk
2007-01-24 17:46:46 +01:00
hpk 638e4318e4 [svn r37277] merging of file:///svn/py/branch/config/py/test/rsession/testing/test_webjs.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r36986 | fijal | 2007-01-19 13:05:58 +0100 (Fri, 19 Jan 2007) | 4 lines

    Improve the behaviour off cleanup and channel closing, at least on slave side.
    Some cleanups, got rid of some hacks (in favor of other hacks, but posix
    is a bit hackish anyway)

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:40:06 +01:00
hpk 86ac16b937 [svn r37276] merging of file:///svn/py/branch/config/py/test/rsession/testing/test_rsession.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37262 | hpk | 2007-01-24 14:55:00 +0100 (Wed, 24 Jan 2007) | 2 lines

    fix failing test

    ------------------------------------------------------------------------
    r37015 | fijal | 2007-01-19 17:24:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    Major cleanup of hostmanage. Got rid of global functions in favor of some better-structured classes.

    ------------------------------------------------------------------------
    r36974 | fijal | 2007-01-18 22:32:04 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix the test to actually perform RSync of pylib itself and a test if that was true.

    ------------------------------------------------------------------------
    r36970 | hpk | 2007-01-18 20:33:16 +0100 (Thu, 18 Jan 2007) | 6 lines

    some little cleanups - getting rid of we_are_remote
    which is not used anywhere as far as i can see.

    maciej: please check that i didn't mess anything
    up, but for me the same tests as before pass

    ------------------------------------------------------------------------
    r36968 | hpk | 2007-01-18 20:00:21 +0100 (Thu, 18 Jan 2007) | 2 lines

    fixing some imports

    ------------------------------------------------------------------------
    r36966 | fijal | 2007-01-18 19:36:02 +0100 (Thu, 18 Jan 2007) | 2 lines

    Add try: finally:

    ------------------------------------------------------------------------
    r36965 | fijal | 2007-01-18 19:35:00 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix the test.

    ------------------------------------------------------------------------
    r36963 | fijal | 2007-01-18 19:21:43 +0100 (Thu, 18 Jan 2007) | 2 lines

    Fix remaining tests and make strange hack with parse/reparse.

    ------------------------------------------------------------------------
    r36962 | fijal | 2007-01-18 19:06:13 +0100 (Thu, 18 Jan 2007) | 3 lines

    Huge refactoring. Got rid of remote_options and session_options, two tests
    still fail, so it's intermediate checkin.

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:40:04 +01:00
hpk 2bdeb13069 [svn r37275] merging of file:///svn/py/branch/config/py/apigen/testing/test_apigen_functional.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines

    switching in the new way of getting to a sessionclass,
    removing code in cmdline.py and elsewhere accordingly

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:40:01 +01:00
hpk a1f2e0a1e0 [svn r37274] merging of file:///svn/py/branch/config/py/test/rsession/web.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r36993 | fijal | 2007-01-19 14:54:25 +0100 (Fri, 19 Jan 2007) | 2 lines

    Add possibility to scroll or not to scroll to web frontend. This checkin makes me believe that there is lot of stuff to do in JS backend.

    ------------------------------------------------------------------------
    r36955 | hpk | 2007-01-18 17:44:21 +0100 (Thu, 18 Jan 2007) | 4 lines

    some mods to defaultconfest dist options
    and use "_dist_import_pypy", i.e. a leading underscore
    at least

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:56 +01:00
hpk 7c2ccd8bc5 [svn r37273] merging of file:///svn/py/branch/config/py/test/rsession/rsession.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37173 | fijal | 2007-01-23 11:26:32 +0100 (Tue, 23 Jan 2007) | 2 lines

    Adhere to --box option.

    ------------------------------------------------------------------------
    r37127 | fijal | 2007-01-22 13:48:33 +0100 (Mon, 22 Jan 2007) | 2 lines

    Add a few docstrings.

    ------------------------------------------------------------------------
    r37110 | hpk | 2007-01-22 00:39:24 +0100 (Mon, 22 Jan 2007) | 2 lines

    renaming some variables for more clarity

    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r37063 | arigo | 2007-01-20 17:00:31 +0100 (Sat, 20 Jan 2007) | 5 lines

    webbrowser.open() may block until the browser finishes or not, so better
    start it from a background thread.  An case where it blocks is if you
    define the $BROWSER environment variable.


    ------------------------------------------------------------------------
    r37015 | fijal | 2007-01-19 17:24:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    Major cleanup of hostmanage. Got rid of global functions in favor of some better-structured classes.

    ------------------------------------------------------------------------
    r36988 | fijal | 2007-01-19 13:25:05 +0100 (Fri, 19 Jan 2007) | 2 lines

    Improve the C-c support, also keep web interface informed about crashes/interrupts.

    ------------------------------------------------------------------------
    r36969 | fijal | 2007-01-18 20:10:36 +0100 (Thu, 18 Jan 2007) | 3 lines

    Move teardown hosts out of finally (needs further refactoring)
    Kill adddefaultoptions call for now.

    ------------------------------------------------------------------------
    r36964 | hpk | 2007-01-18 19:30:02 +0100 (Thu, 18 Jan 2007) | 8 lines

    move rconfig functionality to general Config object,
    with docstrings, and trying to change rsession accordingly.

    note that it's called "make_repr" and "merge_repr"
    the latter to make it obvious that we are changing
    the instance with the given repr.


    ------------------------------------------------------------------------
    r36962 | fijal | 2007-01-18 19:06:13 +0100 (Thu, 18 Jan 2007) | 3 lines

    Huge refactoring. Got rid of remote_options and session_options, two tests
    still fail, so it's intermediate checkin.

    ------------------------------------------------------------------------
    r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines

    at least LSession should work now. Did not touched yet the remote options stuff,
    but some simplifications were done.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:54 +01:00
hpk 6dbd42b60e [svn r37272] merging of file:///svn/py/branch/config/py/test/rsession/rest.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37178 | fijal | 2007-01-23 11:38:39 +0100 (Tue, 23 Jan 2007) | 2 lines

    Make it a bit more working.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:52 +01:00
hpk e94a602e59 [svn r37271] merging of file:///svn/py/branch/config/py/doc/test_conftest.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:49 +01:00
hpk 0c4cfc40bd [svn r37270] merging of file:///svn/py/branch/config/py/doc/TODO.txt
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37133 | fijal | 2007-01-22 14:15:53 +0100 (Mon, 22 Jan 2007) | 2 lines

    another update what has been done.

    ------------------------------------------------------------------------
    r37132 | fijal | 2007-01-22 14:12:11 +0100 (Mon, 22 Jan 2007) | 2 lines

    Remove done issues.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:46 +01:00
hpk 6040cf158d [svn r37269] merging of file:///svn/py/branch/config/py/test/config.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37263 | hpk | 2007-01-24 14:59:20 +0100 (Wed, 24 Jan 2007) | 19 lines

    * introduce config.initdirect() which should
      be the central place to perform initialization
      on remote nodes/sides.

    * fix --looponfailing (which works nicely now)

    * have Conftest() be an instance instead of
      a class-variable (avoid global state)

    * more thoroughly use the "config.topdir" concept
      (which is not neccessarily the pkgdir.dirpath())

    * on merge_repr don't write values to
      global defaultconftest module (this
      gets tests failing that reuse defaultconftest
      module, but also we want to avoid global
      state in general)


    ------------------------------------------------------------------------
    r37243 | hpk | 2007-01-24 00:06:24 +0100 (Wed, 24 Jan 2007) | 2 lines

    small step-wise cleanups

    ------------------------------------------------------------------------
    r37238 | hpk | 2007-01-23 23:09:57 +0100 (Tue, 23 Jan 2007) | 2 lines

    why do it complicated?

    ------------------------------------------------------------------------
    r37235 | hpk | 2007-01-23 22:25:16 +0100 (Tue, 23 Jan 2007) | 5 lines

    added get_collector_trail method to get
    a representation of a collector relative
    to the topdir.


    ------------------------------------------------------------------------
    r37230 | hpk | 2007-01-23 20:44:22 +0100 (Tue, 23 Jan 2007) | 2 lines

    typo-level fixes

    ------------------------------------------------------------------------
    r37193 | hpk | 2007-01-23 14:53:17 +0100 (Tue, 23 Jan 2007) | 5 lines

    introduced config.topdir, tests and use it from terminal/remote at least.
    also fix fijal's "--box" option handling a bit, but i am not
    sure it should stay this way at all.


    ------------------------------------------------------------------------
    r37172 | fijal | 2007-01-23 11:26:10 +0100 (Tue, 23 Jan 2007) | 2 lines

    Boxing implies lsession

    ------------------------------------------------------------------------
    r37114 | hpk | 2007-01-22 02:20:30 +0100 (Mon, 22 Jan 2007) | 6 lines

    streamlining initial construction of collectors
    (to unify topdir/pkgdir/collector handling
    in rsession/terminal/normal)
    still work in-progress with a skipped test


    ------------------------------------------------------------------------
    r37112 | hpk | 2007-01-22 01:07:09 +0100 (Mon, 22 Jan 2007) | 3 lines

    * moving towards a common rootdir/root collector
    * adding an xxxed test

    ------------------------------------------------------------------------
    r37110 | hpk | 2007-01-22 00:39:24 +0100 (Mon, 22 Jan 2007) | 2 lines

    renaming some variables for more clarity

    ------------------------------------------------------------------------
    r37077 | hpk | 2007-01-20 22:26:52 +0100 (Sat, 20 Jan 2007) | 2 lines

    cleaning up fixoptions() a bit

    ------------------------------------------------------------------------
    r37076 | hpk | 2007-01-20 22:19:42 +0100 (Sat, 20 Jan 2007) | 2 lines

    unskip exec and looponfailing tests, fixes for that

    ------------------------------------------------------------------------
    r37075 | hpk | 2007-01-20 21:51:18 +0100 (Sat, 20 Jan 2007) | 2 lines

    remove two debug prints

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines

    Choose a random free port when using the --runbrowser option,
    but stick to the fixed 8000 when using --startserver only.

    ------------------------------------------------------------------------
    r37061 | hpk | 2007-01-20 16:29:25 +0100 (Sat, 20 Jan 2007) | 8 lines

    refactoring/fixing the remote terminal approach
    (used for --exec and --looponfailing) to
    use the new configiguration.  Removes
    lots of strange code.

    XXX there are still some recursive testing issues.


    ------------------------------------------------------------------------
    r37055 | hpk | 2007-01-20 12:51:54 +0100 (Sat, 20 Jan 2007) | 4 lines

    reintroducing --session to lookup custom session objects in conftests.py
    there is no other way to override a session object from conftests.


    ------------------------------------------------------------------------
    r37025 | hpk | 2007-01-19 17:59:50 +0100 (Fri, 19 Jan 2007) | 2 lines

    remove lget and its last usage (which was a bit random)

    ------------------------------------------------------------------------
    r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines

    switching in the new way of getting to a sessionclass,
    removing code in cmdline.py and elsewhere accordingly

    ------------------------------------------------------------------------
    r37013 | hpk | 2007-01-19 17:14:11 +0100 (Fri, 19 Jan 2007) | 2 lines

    somewhat simpler lookup mechanism for sessions

    ------------------------------------------------------------------------
    r37009 | hpk | 2007-01-19 16:50:32 +0100 (Fri, 19 Jan 2007) | 2 lines

    adding a config method to determine the session name

    ------------------------------------------------------------------------
    r36994 | fijal | 2007-01-19 15:08:16 +0100 (Fri, 19 Jan 2007) | 2 lines

    removal of some trailing white-spaces.

    ------------------------------------------------------------------------
    r36964 | hpk | 2007-01-18 19:30:02 +0100 (Thu, 18 Jan 2007) | 8 lines

    move rconfig functionality to general Config object,
    with docstrings, and trying to change rsession accordingly.

    note that it's called "make_repr" and "merge_repr"
    the latter to make it obvious that we are changing
    the instance with the given repr.


    ------------------------------------------------------------------------
    r36942 | hpk | 2007-01-18 16:08:06 +0100 (Thu, 18 Jan 2007) | 4 lines

    group things used for testing and not use non-underscore
    names (otherwise they are consdiered public and
    are possibly seen from apigen through py.test.config!)

    ------------------------------------------------------------------------
    r36941 | fijal | 2007-01-18 15:59:08 +0100 (Thu, 18 Jan 2007) | 2 lines

    Add a hack which allows to temporarily overwrite the config value.

    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:42 +01:00
hpk 4a2d9e3f58 [svn r37268] merging of file:///svn/py/branch/config/py/__init__.py
revisions 36936 to 37267:

    ------------------------------------------------------------------------
    r37129 | fijal | 2007-01-22 14:04:00 +0100 (Mon, 22 Jan 2007) | 2 lines

    Move rsync to execnet and expose it as py.execnet.RSync

    ------------------------------------------------------------------------
    r37074 | hpk | 2007-01-20 21:43:52 +0100 (Sat, 20 Jan 2007) | 9 lines

    * config.initsession() deals with getting at a session class
      and initiliazing it
    * config._getcollector(path) gets a collector pointing to path
    * added lots of tests
    * thus remove the strange getfscollector and map2colitems logic
    * mark some tkinter tests as skipped
    * fixing things all around


    ------------------------------------------------------------------------
    r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines

    Create a branch for further config cleanups.

    ------------------------------------------------------------------------

--HG--
branch : trunk
2007-01-24 17:39:40 +01:00
guido c9545204d0 [svn r37266] Fixed a problem in the CallFrame code, it doesn't like py.code.Source objects
(no test, sorry, didn't succeed in reproducing it from a test yet), some minor
HTML changes.

--HG--
branch : trunk
2007-01-24 17:06:35 +01:00
hpk 5992a8ef21 [svn r37264] create the new development trunk
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00