This is the mail archive of the
mailing list for the GCC project.
Re: gcc for syntax check only (C): need to read source from stdin
Dave Korn wrote:
dk@mace /gnu/testing/obj-HEAD> make check 2>&1 | tee check.log
Always use "make -k check". Some testsuites exit with an error if one
or more tests failed, and because this is the normal situation for
almost all testsuites, this means the only way to get meaningful results
is to use -k.
You will still get a failure for the fixincludes testsuite, but it will
be ignored, and the other testsuites will work.
Or alternatively, run the ones you care about individually, e.g. "make
check-target-libstdc++-v3" which will run only the libstdc++-v3
testsuite. Or alternatively, you can cd into the directories you care
about, e.g. "cd gcc; make check-g++" which will run just the gcc C++
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com