eutest.bat
- Posted by ChrisB (moderator) Mar 17, 2009
- 831 views
Hi
In \bin\ there is a file, eutest.exw, called from eutest.bat.
Starting either of these gives
C:\EUPHORIA\include\std/sort.e:59 in function sort()
type_check failure, x is -1
... called from C:\EUPHORIA\BIN\eutest.ex:98 in procedure do_test()
... called from C:\EUPHORIA\BIN\eutest.ex:341 in procedure main()
... called from C:\EUPHORIA\BIN\eutest.ex:345
> See ex.err
This is called from
if length(files) = 0 then files = sort(dir("t_*.e")) end if
in eutest.exw, which calls
public function sort(sequence x, integer order = ASCENDING)
in sort.e
Running eutest without a command line will lead to the dir() result being -1, which leads to the error. Should sort be
public function sort(object x, integer order = ASCENDING) if not sequence(x) then return -1 end if
Or is eutest.exw now obsolete and just a hang over from previous installs?
Chris