On Sun, Jan 2, 2011 at 02:13, Amr Shahin <[email protected]> wrote: > On Sat, Jan 1, 2011 at 5:13 PM, Daniel Stenberg <[email protected]> wrote: >> check doesn't seem to be written to grok C89 compilers, have you checked >> (no pun intended) if it does? > > i contacted check-devel. will let you know when i get a reply. I wonder > however if this is important, the unit tests will be used by contributors > not client-developers, i guess all of contributors will be using a modern OS > and compiler.
Our nightly autobuilds build on a lot of architectures, this includes building and executing the test harness. We have also found real bugs which could affect anyone but only showed up consistenly on sometimes just one architecture. For example, I recall one bug that only failed when running the test harness on Tru64 (non-C99 system). In other words, we need to be able to run the tests on as many systems as possible because otherwise we may not find all the bugs (bugs that can affect all systems. The point is that they may be reproducible only on some systems. As developers typically use either Linux or Windows systems we need the test harness run on every _other_ kind of system). So, my point is that we need to be able to compile and run the test harness on non-modern systems exactly _because_ contributors will be using a modern OS and compiler. -Tor ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
