Hi, I'm using MinGW on Windows 7. I have no problem running make or
individually testing my parser against single cc files using "./
TestParser test.cc" but when I run the testsuite with "./progs-test-
lab1 path/to/your/
file.cf" I get the same error for all the test
files:
Parsing ..\bad\bad135.cc...
←[031m./testdriver ..\bad\bad135.cc failed: invalid output←[0m
For source file ..\bad\bad135.cc:
---------------- begin ..\bad\bad135.cc ------------------
←[032mcomment "foo"
←[0m
----------------- end ..\bad\bad135.cc -------------------
It printed this to standard error:
←[034m'.' is not recognized as an internal or external command,
operable program or batch file.
←[0m
Ending with:
------------------------------------------------------------
←[030mNumber of rules: 123←[0m
←[034mshift/reduce conflicts: 2←[0m
See lab1-test-dir\ParCPP.info for information about the conflicts
------------------------------------------------------------
←[031mGood programs: passed 0 of 37 tests←[0m
←[031mBad programs: passed 0 of 135 tests←[0m
When I test against each file manually I get no problems, but it is
quite annoying having to manually test against almost 200 files every
time I make a change to the parser. Does anybody else have this
problem or know how to solve it?
Best regards,
Hjalti