Re: Measuring test duration?

2012-09-11 Thread Bob Friesenhahn
On Tue, 11 Sep 2012, Dan Kegel wrote: Hi all, I'm running a test suite on an underpowered machine, and want to have test results automatically annotated with how long each one took. Some of our tests are gtest based, and those already do what I want, e.g. [ OK ] RecentServerOnly.FailedPer

Measuring test duration?

2012-09-11 Thread Dan Kegel
Hi all, I'm running a test suite on an underpowered machine, and want to have test results automatically annotated with how long each one took. Some of our tests are gtest based, and those already do what I want, e.g. [ OK ] RecentServerOnly.FailedPermissionize (43 ms) A quick hack to my Ma

Re: AM_CONDITIONAL to choose between building library or linking directly

2012-09-11 Thread Fabrício Zimmerer Murta
"these prerequisites look very odd as they say that object files depend on other object files" Blame fortran for that. Is 'b' is a module, I have to assure 'a' is compiled only when 'b' is compiled (so the .mod file is created). With this rule, I can assure make -jN would not result in error.

Re: AM_CONDITIONAL to choose between building library or linking directly

2012-09-11 Thread Nick Bowler
On 2012-09-11 15:41 -0300, Fabrício Zimmerer Murta wrote: > Is that supposed not to work? > > (“LIBRARY_BUILD” AM_CONDITIONAL set accordingly on configre.ac) > Makefile.am: > > if LIBRARY_BUILD > lib_LTLIBRARIRES = libprog.la > libprog_la_SOURCES = a.c b.c d.c > else !LIBRARY_BUILD > bin_PROGRAMS

AM_CONDITIONAL to choose between building library or linking directly

2012-09-11 Thread Fabrício Zimmerer Murta
Is that supposed not to work? (“LIBRARY_BUILD” AM_CONDITIONAL set accordingly on configre.ac) Makefile.am: if LIBRARY_BUILD lib_LTLIBRARIRES = libprog.la libprog_la_SOURCES = a.c b.c d.c else !LIBRARY_BUILD bin_PROGRAMS = driver driver_SOURCES = a.c b.c d.c driver.c endif !LIBRARY_BUILD if LIBRA