aboutsummaryrefslogtreecommitdiff
path: root/test/unit/Makefile.am
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-17 13:47:38 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-17 16:34:11 +0100
commit861ae257f4f640dacc71528079ab6d56c8d39e80 (patch)
treefbad433fa2c937fce1af69e33926f50dd7b9b2ea /test/unit/Makefile.am
parentb595edeaf0359a61e5b2388843cc0b701af0a615 (diff)
downloadPROJ-861ae257f4f640dacc71528079ab6d56c8d39e80.tar.gz
PROJ-861ae257f4f640dacc71528079ab6d56c8d39e80.zip
proj.h: add PROJ_COMPUTE_VERSION, PROJ_VERSION_NUMBER, PROJ_AT_LEAST_VERSION macros
Makes it easier for users to test if they build against a PROJ version later than a given x.y.z version.
Diffstat (limited to 'test/unit/Makefile.am')
-rw-r--r--test/unit/Makefile.am11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am
index b073fcf2..1326332b 100644
--- a/test/unit/Makefile.am
+++ b/test/unit/Makefile.am
@@ -19,7 +19,7 @@ noinst_PROGRAMS += include_proj_h_from_c
noinst_PROGRAMS += test_network
noinst_PROGRAMS += test_defmodel
noinst_PROGRAMS += test_tinshift
-
+noinst_PROGRAMS += test_misc
pj_phi2_test_SOURCES = pj_phi2_test.cpp main.cpp
pj_phi2_test_LDADD = ../../src/libproj.la @GTEST_LIBS@
@@ -89,6 +89,13 @@ test_tinshift_LDADD = ../../src/libproj.la @GTEST_LIBS@
test_tinshift-check: test_tinshift
PROJ_LIB=$(PROJ_LIB) ./test_tinshift
+test_misc_SOURCES = test_misc.cpp main.cpp
+test_misc_LDADD = ../../src/libproj.la @GTEST_LIBS@
+
+test_misc-check: test_misc
+ PROJ_LIB=$(PROJ_LIB) ./test_misc
+
check-local: pj_phi2_test-check proj_errno_string_test-check \
proj_angular_io_test-check proj_context_test-check test_cpp_api-check \
- gie_self_tests-check test_network-check test_defmodel-check test_tinshift-check
+ gie_self_tests-check test_network-check test_defmodel-check test_tinshift-check \
+ test_misc-check