Yang Tse
aa76dec33a
unit tests: more build adjustments
2011-06-01 21:40:09 +02:00
Yang Tse
685359d4c3
makefile: avoid preprocessor definition usage when linking
2011-06-01 14:43:25 +02:00
Yang Tse
9f390a356e
unit tests: build adjustment
...
Also define UNITTESTS macro when building unit test sources.
Fixing compiler warning: external definition with no prior declaration
2011-05-25 20:24:03 +02:00
Dan Fandrich
a2c8966d50
Fixed path to allow out-of-tree builds
2011-01-04 12:59:44 -08:00
Daniel Stenberg
53640a3ce0
unittesting: build a separate static lib
...
When configure --enable-debug has been used, all files in lib/ are now
built twice and a separate static library crafted for unit-testing will
be linked. The unit tests in the tests/unit subdir will use that
library.
2011-01-03 22:16:16 +01:00
Daniel Stenberg
35e1d6538a
unittest: framework for unit-testing
...
This is the first approach at doing fairly clean and easy to write and
debug unit tests.
2011-01-03 19:38:10 +01:00