You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2019/10/29 16:23:54 UTC

[orc] branch branch-1.6 updated: ORC-565: Set path to example files for c++/tests.

This is an automated email from the ASF dual-hosted git repository.

omalley pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new 3c20920  ORC-565: Set path to example files for c++/tests.
3c20920 is described below

commit 3c2092035976a9b2fb3b3a2b75901642ad9e712b
Author: Owen O'Malley <om...@apache.org>
AuthorDate: Mon Oct 28 13:50:31 2019 -0700

    ORC-565: Set path to example files for c++/tests.
    
    Fixes #445
    
    Signed-off-by: Owen O'Malley <om...@apache.org>
---
 c++/test/CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt
index 11e8cf4..ea39023 100644
--- a/c++/test/CMakeLists.txt
+++ b/c++/test/CMakeLists.txt
@@ -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 ()