mna / agora

a dynamically typed, garbage collected, embeddable programming language built with Go
https://github.com/mna/agora/wiki
BSD 3-Clause "New" or "Revised" License
324 stars 27 forks source link

stdlib tests fail on windows #21

Open tHinqa opened 10 years ago

tHinqa commented 10 years ago

1 TestFmtPrint gets func:%v... (no "!")

2 TestOsExec fails as echo is not a standalone program Suggestion: make 'echo.bat' file containing '@echo %*' Also, you would need to check for exp+"\r\n" too or ret.String()[:len(exp)] != exp instead Note that if you had "hello world" windows would further complcate by placing " at each end

Otherwise it seems to work on win32 (GOOS=windows GOARCH=386) Regards, Tony