Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-example
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
libvmod-example
Commits
0f83a2bf
Commit
0f83a2bf
authored
May 17, 2016
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use autocrap test facility to get the standard TESTS_ENVIRONMENT
parent
4d6cc159
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
configure.ac
configure.ac
+3
-0
Makefile.am
src/Makefile.am
+7
-6
No files found.
configure.ac
View file @
0f83a2bf
...
...
@@ -40,6 +40,9 @@ fi
AC_HEADER_STDC
AC_CHECK_HEADERS([sys/stdlib.h])
VMOD_TESTS="$(cd $srcdir/src && echo tests/*.vtc)"
AC_SUBST(VMOD_TESTS)
# backwards compat with older pkg-config
# - pull in AC_DEFUN from pkg.m4
m4_ifndef([PKG_CHECK_VAR], [
...
...
src/Makefile.am
View file @
0f83a2bf
AM_CPPFLAGS
=
@VMOD_INCLUDES@
-Wall
-Werror
TESTS_ENVIRONMENT
=
PATH
=
$(LIBVARNISHAPI_BINDIR)
:
$(LIBVARNISHAPI_SBINDIR)
:
$$
PATH
vmoddir
=
@VMOD_DIR@
vmod_LTLIBRARIES
=
libvmod_example.la
...
...
@@ -23,13 +25,12 @@ vmod_example.lo vmod_example.man.rst: vcc
vcc
:
@VMODTOOL@ $(top_srcdir)/src/vmod_example.vcc
@
PYTHON@ @VMODTOOL@
$(top_srcdir)
/src/vmod_example.vcc
VMOD_TESTS
=
$(top_srcdir)
/src/tests/
*
.vtc
.PHONY
:
$(VMOD_TESTS) vcc
$(top_srcdir)/src/tests/*.vtc
:
libvmod_example.la
@
VARNISHTEST@
-Dvarnishd
=
@VARNISHD@
-Dvmod_topbuild
=
$(abs_top_builddir)
$@
VTC_LOG_COMPILER
=
$(VARNISHTEST)
-v
\
-Dvmod_topbuild
=
$(abs_top_builddir)
TEST_EXTENSIONS
=
.vtc
TESTS
=
@VMOD_TESTS@
check
:
$(VMOD_TESTS)
@VMOD_TESTS@
:
vcc
EXTRA_DIST
=
\
vmod_example.vcc
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment