Re: eutest.bat
- Posted by jeremy (admin) Mar 17, 2009
- 795 views
Hm, I just tried this and eutest already checks command arguments as well as files in the local directory. If no command line or no files in the local dir named t_???.e then it reports: No unit tests supplied or found.
I then looked at line 345 of eutest.ex and no where near that line is anything to do with sort. The sort call is on line 293. I think you somehow have an old copy of eutest.ex. I did notice you mentioned eutest.exw (notice exw). The current eutest program is ex not exw. Your error report seems to indicate a correct ex though.
Can you check to make sure you have the latest eutest?
The current version that does the dir and sort calls looks like this:
if length(files) = 0 then files = dir("t_*.e") if atom(files) then puts(2,"No unit tests supplied or found.\n") abort(1) end if files = sort(files) end if
Jeremy