summaryrefslogtreecommitdiff
path: root/tests/unit/Makefile.inc
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-25 20:22:46 +0200
committerYang Tse <yangsita@gmail.com>2011-05-25 20:24:03 +0200
commit9f390a356ea464183cc11ef44c48968ccdcd36ac (patch)
treea6b88053c996b6c390f568a79605ead7d305a94e /tests/unit/Makefile.inc
parent017ee34bbad9885e524f735401be7ad859cdbd84 (diff)
downloadcurl-9f390a356ea464183cc11ef44c48968ccdcd36ac.tar.gz
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.inc4
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