[Webkit-unassigned] [Bug 17531] Add interactive mode to testkjs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 25 00:35:40 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17531





------- Comment #1 from sam at webkit.org  2008-02-25 00:35 PDT -------
Created an attachment (id=19341)
 --> (http://bugs.webkit.org/attachment.cgi?id=19341&action=view)
First stab at it

Here is a first stab at an interactive shell mode.  If the platform you are on
has readline support (currently I only have it set for Darwin, since I know it
does, but the automake platforms can be made to check for it too) I use it and
make use of the history, otherwise we just use getchar.  The way interactive
mode works with files is that all the files are run first, and if they succeed,
we go into interactive mode.

There are some names I don't especially like in this patch (the Options struct
for one, not really sure we even need it) and I think it has gotten to the
point where we need a more fleshed out usage message.  All in all though, this
is pretty close.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list