aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartekgola@gmail.com>2018-02-27 13:48:08 +0100
committerBartosz Golaszewski <bartekgola@gmail.com>2018-02-27 13:48:08 +0100
commit6a229b04f614378faf3c73c4bf3319bbe3d61367 (patch)
tree5e792fb0b58472da49f66ce9a98b5fc0e0996f19
parent42038068fc6ab5d71cedcf6825d988b3eaa75400 (diff)
downloadlibgpiod-6a229b04f614378faf3c73c4bf3319bbe3d61367.tar.gz
bindings: cxx: rename the C++ tests executable
Include the project's prefix in the executable name. Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
-rw-r--r--.gitignore2
-rw-r--r--bindings/cxx/examples/Makefile.am4
-rw-r--r--bindings/cxx/examples/gpiod_cxx_tests.cpp (renamed from bindings/cxx/examples/gpio_cxx_tests.cpp)0
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 08e8c7b7..03dd0a5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@ gpioget
gpioset
gpiomon
gpiofind
-gpio_cxx_tests
+gpiod_cxx_tests
gpiodetectcxx
gpiofindcxx
gpiogetcxx
diff --git a/bindings/cxx/examples/Makefile.am b/bindings/cxx/examples/Makefile.am
index 4f5ce834..e521137d 100644
--- a/bindings/cxx/examples/Makefile.am
+++ b/bindings/cxx/examples/Makefile.am
@@ -11,7 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include
AM_CPPFLAGS += -Wall -Wextra -g -std=gnu++11
AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/
-check_PROGRAMS = gpio_cxx_tests \
+check_PROGRAMS = gpiod_cxx_tests \
gpiodetectcxx \
gpiofindcxx \
gpiogetcxx \
@@ -19,7 +19,7 @@ check_PROGRAMS = gpio_cxx_tests \
gpiomoncxx \
gpiosetcxx
-gpio_cxx_tests_SOURCES = gpio_cxx_tests.cpp
+gpiod_cxx_tests_SOURCES = gpiod_cxx_tests.cpp
gpiodetectcxx_SOURCES = gpiodetectcxx.cpp
diff --git a/bindings/cxx/examples/gpio_cxx_tests.cpp b/bindings/cxx/examples/gpiod_cxx_tests.cpp
index a7d04188..a7d04188 100644
--- a/bindings/cxx/examples/gpio_cxx_tests.cpp
+++ b/bindings/cxx/examples/gpiod_cxx_tests.cpp