Displaying 4 results from an estimated 4 matches for "test_cxx_sourc".
Did you mean:
test_cxx_sources
2017 Feb 01
1
[nbdkit PATCH] tests: Test in-tree rather than installed header
...ed-off-by: Eric Blake <eblake at redhat.com>
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c2d473a..9076d6b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -103,7 +103,7 @@ check_PROGRAMS += \
test_cxx_SOURCES = test-cxx.cpp
test_cxx_CXXFLAGS = \
- $(WARNINGS_CFLAGS)
+ -I ../include $(WARNINGS_CFLAGS)
endif
# In-depth tests need libguestfs, since that is a convenient way to
--
2.9.3
2017 Feb 01
0
[PATCH] Really fix C++ support in the <nbdkit-plugin.h> header file (RHBZ#1418328).
...ng interesting when run.
TESTS += \
- test-cxx
-check_PROGRAMS += \
- test-cxx
+ test-cxx.sh
+# check_LTLIBRARIES won't build a shared library (see automake manual).
+# So we have to do this and add a dependency.
+noinst_LTLIBRARIES += \
+ test-cxx-plugin.la
+test-cxx.sh: test-cxx-plugin.la
-test_cxx_SOURCES = test-cxx.cpp
-test_cxx_CXXFLAGS = \
+test_cxx_plugin_la_SOURCES = \
+ test-cxx-plugin.cpp \
+ $(top_srcdir)/include/nbdkit-plugin.h
+test_cxx_plugin_la_CPPFLAGS = \
+ -I$(top_srcdir)/include
+test_cxx_plugin_la_CXXFLAGS = \
$(WARNINGS_CFLAGS)
+# For use of the -rpath option, see:
+# ht...
2017 Feb 01
1
[PATCH nbdkit v2] Really fix C++ support in the <nbdkit-plugin.h>
This version uses Eric's subtype suggestion:
https://bugzilla.redhat.com/show_bug.cgi?id=1418328#c6
Rich.
2017 Feb 01
1
[PATCH nbdkit v3] Really fix C++ support in the <nbdkit-plugin.h>
This version uses a static initializer function
(https://bugzilla.redhat.com/show_bug.cgi?id=1418328#c9).
Rich.