Eric Lemings wrote: > > >> -----Original Message----- >> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor >> Sent: Friday, March 21, 2008 5:41 PM >> To: dev@stdcxx.apache.org >> Subject: Re: Building Tests >> >> Eric Lemings wrote: >>> >>> I haven't looked to confirm this but it looks like the Makefile(s) >>> ignore errors building the test programs but the build process still >>> stops (i.e. exits successfully). I was wondering if the Makefile(s) >>> shouldn't also continue building the remaining test >> programs (i.e. set >>> MAKEFLAGS=-k before invoking the test Makefile). >> I don't think the makefiles ignore build errors. > > If you do a build on a platform where one of the test programs fails > to build, the make process will exit and will not build the remaining > test programs but the run target will still try to run these unbuilt > tests. That's by design so the tests that fail to compile are reported as such. Otherwise, if exec skipped them, build failures would not show up in our nightly build results. > [...] > > So, I think it makes sense that if the run target tries to run all > tests, then the target that builds the test programs should also > try to build as many test programs as possible. Either that or > make the target that runs each test output dependent on the > respective test program so it only tries to run it if it is up to > date. The latter could be done. Martin