Skip to content

Commit

Permalink
ORC-565: Set path to example files for c++/tests.
Browse files Browse the repository at this point in the history
Fixes #445

Signed-off-by: Owen O'Malley <omalley@apache.org>
  • Loading branch information
omalley committed Oct 29, 2019
1 parent d254f3d commit db1fc71
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion c++/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,15 @@ else ()
add_test (NAME orc-test COMMAND orc-test)
endif ()

set_property(TEST orc-test
PROPERTY
ENVIRONMENT "ORC_EXAMPLE_DIR=${EXAMPLE_DIRECTORY}"
)

if (WIN32)
set_property(
TEST orc-test
PROPERTY
APPEND PROPERTY
ENVIRONMENT "TZDIR=${TZDATA_DIR}"
)
endif ()

0 comments on commit db1fc71

Please sign in to comment.