]> sourceware.org Git - lvm2.git/commitdiff
test: Build the new test runner.
authorPetr Rockai <prockai@redhat.com>
Sun, 8 Jun 2014 16:24:33 +0000 (18:24 +0200)
committerPetr Rockai <prockai@redhat.com>
Thu, 5 Feb 2015 12:47:16 +0000 (13:47 +0100)
test/Makefile.in

index 1aec88b4bcf8fd642a2f7cf80985ca6a56802846..e2f2cb8db689c3879b1c71b1542795e0b0b56a91 100644 (file)
@@ -37,6 +37,8 @@ export LVM_TEST_CACHE_RESTORE_CMD?=@CACHE_RESTORE_CMD@
 
 SUBDIRS = api unit
 SOURCES = lib/not.c lib/harness.c
+CXXSOURCES = lib/runner.cpp
+CXXFLAGS = -std=c++11
 
 include $(top_builddir)/make.tmpl
 
@@ -141,6 +143,9 @@ lib/fail: lib/not
        ln -sf not lib/fail
 
 
+lib/runner: lib/runner.o .lib-dir-stamp
+       $(CXX) $(LDFLAGS) -o $@ $<
+
 lib/%: lib/%.o .lib-dir-stamp
        $(CC) $(LDFLAGS) -o $@ $<
 
@@ -174,7 +179,7 @@ lib/paths: $(srcdir)/Makefile.in .lib-dir-stamp Makefile
 
 LIB = lib/not lib/invalid lib/fail lib/should lib/harness \
       lib/check lib/aux lib/inittest lib/utils lib/get lib/lvm-wrapper \
-      lib/paths
+      lib/paths lib/runner
 
 CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)
 
This page took 0.035558 seconds and 5 git commands to generate.