Commit 61db8ad6 authored by Geoff Simmons's avatar Geoff Simmons

Fix linkage of test programs.

Changed due to the corrected declaration of globals in code for the
binary.
parent d4e9b175
......@@ -25,6 +25,9 @@ test_parse_LDADD = \
-lm \
../parse.$(OBJEXT) \
../assert.$(OBJEXT) \
../log.$(OBJEXT) \
../config.$(OBJEXT) \
../config_common.$(OBJEXT) \
@VARNISH_LIBS@
test_data_SOURCES = \
......@@ -36,6 +39,9 @@ test_data_SOURCES = \
test_data_LDADD = \
../data.$(OBJEXT) \
../assert.$(OBJEXT) \
../log.$(OBJEXT) \
../config.$(OBJEXT) \
../config_common.$(OBJEXT) \
@VARNISH_LIBS@
test_append_SOURCES = \
......@@ -53,6 +59,7 @@ test_append_LDADD = \
../parse.$(OBJEXT) \
../config.$(OBJEXT) \
../config_common.$(OBJEXT) \
../handler.$(OBJEXT) \
../sandbox.$(OBJEXT) \
@VARNISH_LIBS@
......@@ -67,6 +74,12 @@ test_mq_SOURCES = \
test_mq_LDADD = \
-ldl \
-lm \
../worker.$(OBJEXT) \
../config.$(OBJEXT) \
../config_common.$(OBJEXT) \
../log.$(OBJEXT) \
../spmcq.$(OBJEXT) \
../data.$(OBJEXT) \
@VARNISH_LIBS@
test_spmcq_SOURCES = \
......@@ -77,6 +90,9 @@ test_spmcq_SOURCES = \
test_spmcq_LDADD = \
../spmcq.$(OBJEXT) \
../assert.$(OBJEXT) \
../config.$(OBJEXT) \
../config_common.$(OBJEXT) \
../log.$(OBJEXT) \
@VARNISH_LIBS@
test_config_SOURCES = \
......@@ -91,6 +107,7 @@ test_config_SOURCES = \
test_config_LDADD = \
../assert.$(OBJEXT) \
../spmcq.$(OBJEXT) \
-lm \
@VARNISH_LIBS@
......
......@@ -74,6 +74,24 @@ init(void)
#undef METHOD
}
/* Called from worker.c, but we don't want to pull in all of monitor.c's
dependecies. */
void
MON_StatsUpdate(stats_update_t update, unsigned nchunks, unsigned nbytes)
{
(void) update;
(void) nchunks;
(void) nbytes;
}
/* Called from worker.c, but we don't want to pull in all of child.c's
dependecies. */
int
RDR_Exhausted(void)
{
return 0;
}
static void
fini(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment