[nem-en] modification in test.n
Kamil Dworakowski
kamil.dworakowski at googlemail.com
Wed Dec 20 10:06:55 CET 2006
Kamil Skalski wrote:
> 06-12-19, Kamil Dworakowski <kamil.dworakowski at googlemail.com>
> napisał(a):
>> Hi all,
>>
>> I have modified test.n to suit my needs, and I would like to put it into
>> repository but it turned out that it brakes the build (makes many tests
>> fail).
>>
>> The change is:
>> somewhere around line 435 there was
>> < runtime.StartInfo.FileName = "./" + filename_short + ".exe"
>> I changed it to
>> > runtime.StartInfo.FileName = filename + ".exe";
>
> In my shell (cygwin) you need to specify ./ in order to execute file
> from current directory. It seems that for plain files it looks up only
> those in PATH.
There must be sth else and it probably has to do with makefiles. I am
using cygwin also and I was able to run test.n.exe on file in current
directory (given relative path). The problem is only when I run the make
build for Nemerle. Anyway, I have come up with a solution that works for
both scenarios: I add a dot only if a relative path is given. I need
this because I am feeding the program with a fileset-generated list of
files in NAnt and it gives absolute paths.
Kamil Dworakowski
More information about the devel-en
mailing list