~ubuntu-branches/ubuntu/vivid/lvm2/vivid

« back to all changes in this revision

Viewing changes to test/unit/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2012-05-01 20:27:50 UTC
  • mto: (3.1.23 sid)
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: package-import@ubuntu.com-20120501202750-gljjjtblowwq9mw8
Tags: upstream-2.02.95
ImportĀ upstreamĀ versionĀ 2.02.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved.
 
2
#
 
3
# This file is part of LVM2.
 
4
#
 
5
# This copyrighted material is made available to anyone wishing to use,
 
6
# modify, copy, or redistribute it subject to the terms and conditions
 
7
# of the GNU General Public License v.2.
 
8
#
 
9
# You should have received a copy of the GNU General Public License
 
10
# along with this program; if not, write to the Free Software Foundation,
 
11
# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
12
 
 
13
srcdir = @srcdir@
 
14
top_srcdir = @top_srcdir@
 
15
top_builddir = @top_builddir@
 
16
 
 
17
VPATH = $(srcdir)
 
18
SOURCES = bitset_t.c matcher_t.c config_t.c string_t.c run.c
 
19
ifeq ("@TESTING@", "yes")
 
20
TARGETS = run
 
21
endif
 
22
 
 
23
include $(top_builddir)/make.tmpl
 
24
ifeq ("$(TESTING)", "yes")
 
25
LDLIBS += -ldevmapper @CUNIT_LIBS@
 
26
CFLAGS += @CUNIT_CFLAGS@
 
27
 
 
28
check: unit
 
29
 
 
30
unit: $(TARGETS)
 
31
        @echo Running unit tests
 
32
        LD_LIBRARY_PATH=$(top_builddir)/libdm ./$(TARGETS)
 
33
endif