Skip to content

Commit

Permalink
Update PROJ_NETWORK to get tests to pass.
Browse files Browse the repository at this point in the history
* tighten up EPT bounds test

* shut off PROJ_NETWORK to eliminate grid shifts in ept test

* set test environment properties for PROJ_NETWORK=OFF

* set properties for tile test
  • Loading branch information
abellgithub committed Apr 10, 2020
1 parent 9ec4567 commit 6e2b07b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ if (PDAL_HAVE_LASZIP)
INCLUDES
${NLOHMANN_INCLUDE_DIR}
)
set_tests_properties(pdal_io_ept_reader_test PROPERTIES ENVIRONMENT "PROJ_NETWORK=OFF")
PDAL_ADD_TEST(pdal_io_ept_addon_writer_test
FILES
io/EptAddonWriterTest.cpp
Expand Down Expand Up @@ -317,6 +318,8 @@ PDAL_ADD_TEST(pdal_app_test FILES apps/AppTest.cpp)
PDAL_ADD_TEST(pdal_app_plugin_test FILES apps/AppPluginTest.cpp)
PDAL_ADD_TEST(pdal_info_test FILES apps/InfoTest.cpp)
PDAL_ADD_TEST(pdal_tile_test FILES apps/TileTest.cpp)
set_tests_properties(pdal_tile_test PROPERTIES ENVIRONMENT "PROJ_NETWORK=OFF")

PDAL_ADD_TEST(pdal_tindex_test FILES apps/TIndexTest.cpp)
if (LASZIP_FOUND)
PDAL_ADD_TEST(pdal_merge_test FILES apps/MergeTest.cpp)
Expand Down

0 comments on commit 6e2b07b

Please sign in to comment.