This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch,testsuite]: Fix testcase that bangs long and int against void*


On Jan 13, 2012, at 11:25 AM, Georg-Johann Lay wrote:
> So it's fine to dump any code to the test suite no matter on what platform it
> might break or work?

No.  It isn't fine, but it does happen.  Some people spend a lot of time, trying to get the testcases minimal, portable and correct.  Other people, can't even be bothered to test the testcase to ensure to actually even tested the failure.  :-(

The best way forward IMHO, is to not just fix it, but to provide feedback to those that author such testcases, to see if you can sensitize people to some of the issues.  Some issues, like, ints are 16 bits, you're going to loose some or most people on most of the time.  Other issues, should be easier.  Timely feedback I think is the key though, best would be automated testing that can provide feedback within the hour, failing that, nightly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]