diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-25 20:22:46 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-25 20:24:03 +0200 |
commit | 9f390a356ea464183cc11ef44c48968ccdcd36ac (patch) | |
tree | a6b88053c996b6c390f568a79605ead7d305a94e /tests/unit/Makefile.inc | |
parent | 017ee34bbad9885e524f735401be7ad859cdbd84 (diff) |
unit tests: build adjustment
Also define UNITTESTS macro when building unit test sources.
Fixing compiler warning: external definition with no prior declaration
Diffstat (limited to 'tests/unit/Makefile.inc')
-rw-r--r-- | tests/unit/Makefile.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/Makefile.inc b/tests/unit/Makefile.inc index aef687113..ff85e7b37 100644 --- a/tests/unit/Makefile.inc +++ b/tests/unit/Makefile.inc @@ -1,6 +1,8 @@ # these files are used in every single unit test program -UNITFILES = curlcheck.h +UNITFILES = curlcheck.h \ + $(top_srcdir)/tests/libtest/test.h \ + $(top_srcdir)/tests/libtest/first.c # These are all unit test programs noinst_PROGRAMS = unit1300 unit1301 unit1302 unit1303 unit1304 unit1305 unit1307 |