monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Testsuite status (SoC)


From: Timothy Brownawell
Subject: Re: [Monotone-devel] Re: Testsuite status (SoC)
Date: Tue, 25 Jul 2006 22:38:31 -0500

On Wed, 2006-07-19 at 06:09 -0500, Timothy Brownawell wrote:
> I've given the lua extension functions (monotone_*_for_lua) a LUAEXT()
> macro, which does more-or-less the same thing as CMD() and AUTOMATE()
> do. They can be split up into different files now, and the specific
> extensions that need these dependecies (guess_binary, parse_basic_io)
> probably don't need to go into a split out tester.

I've split them up somewhat now.

> 
> Some lua extension functions in tester that might be interesting to have
> in monotone are:
>    set_redirect / clear_redirect
>       For use around a spawn(), to redirect the spawned process' I/O
>       to files. Could be nice if you want to capture or hide output.

There's now a process_spawn_redirected() in $PLATFORM/process.cc, and a
lua wrapper for this.

>    save_env / restore_env / set_env
>       Set environment variables. Again, might be useful around spawn().

These are still only in tester.

>    get_ostype
>       Returns what get_system_flavor() gives.

This is available to the lua hooks in monotone, as is spawn_redirected.

> Next week: look at tester.lua for things that might be interesting to
> put in monotone, and probably finish making a version of tester
> available in it's own branch.

There wasn't really anything interesting there.

Tester has its own branch now. The version in that branch doesn't
understand basic_io, and has slight edits to some of the files (like
globish.*, so it doesn't need vocab*). "upstream" is still the version
in nvm.

Next week: er, I think I'm actually done now. So back to non-SoC
monotone hacking, unless I forgot something.

-- 
Free public monotone hosting: http://mtn-host.prjek.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]