monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] [Patch] mtn automate lua


From: Stephen Leake
Subject: Re: [Monotone-devel] [Patch] mtn automate lua
Date: Mon, 08 Dec 2008 08:51:29 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Thomas Keller <address@hidden> writes:

> Stephen Leake schrieb:
>> Thomas Keller <address@hidden> writes:
>> 
>>> All these changes are part of nvm.experiment.automate-lua
>>> (7c9aa18564dc4826aae41f1e9fab25614757ad4c).
>> 
>> When I compile and run this on Windows MinGW, I get:
>> 
>> ./mtn.exe au lua echo 3 "{[1]=;}"
>> mtn: misuse: lua function 'echo' does not exist
>
> Oh, this is a self-written function which allowed me to test my input /
> output parsing. The definition is as follows:
>
> function echo(...)
>       return ...
> end

Ok. So this is in your .monotonerc? It will have to be in the
test-specific rc file for testing.

>> ./mtn.exe au lua ignore-file "tester"
>> mtn: misuse: lua function 'ignore-file' does not exist
>> 
>> Any hints on debugging this?
>
> Its ignore_file, not ignore-file ;)

Argh! now it works for me as in your examples, at least on Debian (the
Windows computer isn't on right now).

-- 
-- Stephe




reply via email to

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