summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-09-19 22:36:38 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2018-10-10 13:51:06 -0400
commitba62f9acd6623fea1971886e8ccfc8bec217484f (patch)
tree1e5905e21c9d6d0bb433f5e9e3c144dd3b3a8614 /tests
parent8d7f506169a8d7b84f85a34e60096b71f9b20f18 (diff)
Rename cxx-test.C to cxx-test.cpp
Meson checks file extension case-insentively, and compiles ".C" as C source instead of C++.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/cxx-test.cpp (renamed from tests/cxx-test.C)0
-rw-r--r--tests/meson.build2
3 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fba18655d..9682352d0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -123,7 +123,7 @@ dist-hook: $(BUILT_EXTRA_DIST)
if HAVE_CXX
installed_test_programs += cxx-test
-cxx_test_SOURCES = cxx-test.C
+cxx_test_SOURCES = cxx-test.cpp
endif
if ENABLE_TIMELOOP
diff --git a/tests/cxx-test.C b/tests/cxx-test.cpp
index c076e884d..c076e884d 100644
--- a/tests/cxx-test.C
+++ b/tests/cxx-test.cpp
diff --git a/tests/meson.build b/tests/meson.build
index 162051a15..7530571bf 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -51,7 +51,7 @@ tests = [{
},
'timeloop' : {},
'cxx-test' : {
- 'source' : 'cxx-test.C',
+ 'source' : 'cxx-test.cpp',
'include_directories' : gmoduleinc,
'dependencies' : [libgio_dep],
},