This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 5b25332c0 ORC-1003: Recover `java-examples-test` in `java` module
5b25332c0 is described below
commit 5b25332c0a1438bafa2ba91163f459ae02b03b9e
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Dec 27 14:08:02 2023 -0800
ORC-1003: Recover `java-examples-test` in `java` module
### What changes were proposed in this pull request?
This PR aims to recover `java-examples-test` at `CMakefile` of `java`
module.
### Why are the changes needed?
To restore the test coverage.
### How was this patch tested?
Pass the CIs.
Closes #1712 from dongjoon-hyun/ORC-1003.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/CMakeLists.txt | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index fe80d2343..eb755ff63 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -70,11 +70,10 @@ add_test(
-Dbuild.dir=${CMAKE_CURRENT_BINARY_DIR} test
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
-# TOOD(ORC-1003)
-# add_test(
-# NAME java-examples-test
-# COMMAND java -jar examples/orc-examples-${ORC_VERSION}-uber.jar write
-# WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+add_test(
+ NAME java-examples-test
+ COMMAND java -jar examples/orc-examples-${ORC_VERSION}-uber.jar write
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_test(
NAME java-tools-test