On Tue, Dec 16, 2008 at 09:09:54AM +0000, Simon Marlow wrote: > Thomas Schilling wrote: > >My validate always has process008 failing (missing printf). The rest is > >fine. > > And ironically, in the logs we find: > > Thu Oct 2 00:23:39 GMT Daylight Time 2008 Ian Lynagh <[email protected]> > * Use printf rather than echo for the process008 test > It doesn't work on Windows for me otherwise > > It works for me with echo (on Cygwin). Ian - what's the problem here? > Presumably MSYS doesn't come with printf by default, so we need to fix this.
On MSYS: =====> process008(normal) cd . && 'C:/msys/1.0/home/ian/ghc/ghc/stage2-inplace/ghc' -fforce-recomp -dcore-lint -dcmm-lint -Di386_unknown_mingw32 -dno-debug-output -o process008 process008.hs >process008.comp.stderr 2>&1 cd . && ./process008 </dev/null >process008.run.stdout 2>process008.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout: Stderr: process008.exe: echo: createProcess: does not exist (No such file or directory) *** unexpected failure for process008(normal) $ echo foo foo $ /bin/echo foo foo $ /usr/bin/echo foo foo $ which echo $ type echo echo is a shell builtin $ which printf $ type printf printf is a shell builtin $ /bin/printf foo foo $ /usr/bin/printf foo foo $ I'm pretty sure I didn't do anything special to install printf, BTW. Perhaps it comes with newer versions? Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
