[nem-en] modification in test.n
Kamil Skalski
kamil.skalski at gmail.com
Tue Dec 19 22:22:09 CET 2006
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.
>
> The first line works for you because you run tester in the same dir as
> all the test files are. However, I like to keep test files in a
> hierarchy. The second one works for me, and I have no clue why it brakes
> the build of Nemerle. Do you have any suggestions?
>
I guess if you can store full relative path of test file in
'filename', then it should work:
./foo.exe
./bar/woo.exe
etc.
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list