[pango/wip/meson: 8/10] tests: Use the appropriate extension for the C++ test



commit ff45ca599968a6e25d17fbbf89763cac3c328fd9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri May 19 11:53:24 2017 +0100

    tests: Use the appropriate extension for the C++ test
    
    While `.C` is a valid GCC extension for C++ files, it only works for
    case sensitive file systems. Let's use `.cpp`, like the rest of the
    planet does.

 tests/Makefile.am                  |    2 +-
 tests/{cxx-test.C => cxx-test.cpp} |    0
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8f0f61f..5772629 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -92,7 +92,7 @@ testattributes_LDADD = $(TEST_PANGOCAIRO_LIBS) $(GLIB_LIBS)
 if HAVE_CXX
 check_PROGRAMS += cxx-test
 endif
-cxx_test_SOURCES = cxx-test.C
+cxx_test_SOURCES = cxx-test.cpp
 
 all-unicode.txt: gen-all-unicode$(EXEEXT)
        ./gen-all-unicode > all-unicode.txt
diff --git a/tests/cxx-test.C b/tests/cxx-test.cpp
similarity index 100%
rename from tests/cxx-test.C
rename to tests/cxx-test.cpp


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]