You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2017/12/22 15:47:07 UTC

[4/5] impala git commit: Move symlinked auxiliary tests/* to tests/functional/*

Move symlinked auxiliary tests/* to tests/functional/*

The layout of the Impala-auxiliary-tests/tests directory is
changing to allow for different kinds of tests to be saved
there. But just in case the new functional sub-directory
does not exist, preserve backwards compatibility with the
older layout.

Change-Id: Ifb2bbbebc38bbaf3d6a4ad01fa8dd918b7d99b3b
Reviewed-on: http://gerrit.cloudera.org:8080/8896
Reviewed-by: David Knupp <dk...@cloudera.com>
Tested-by: Impala Public Jenkins


Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/4ce23f72
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/4ce23f72
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/4ce23f72

Branch: refs/heads/master
Commit: 4ce23f72bae9ca1ccfea5a8b9498aa115c65eecd
Parents: b581a9d
Author: David Knupp <dk...@cloudera.com>
Authored: Tue Dec 19 12:52:21 2017 -0800
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Fri Dec 22 04:48:53 2017 +0000

----------------------------------------------------------------------
 bin/create-test-configuration.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/impala/blob/4ce23f72/bin/create-test-configuration.sh
----------------------------------------------------------------------
diff --git a/bin/create-test-configuration.sh b/bin/create-test-configuration.sh
index 2f981aa..97e05a3 100755
--- a/bin/create-test-configuration.sh
+++ b/bin/create-test-configuration.sh
@@ -191,4 +191,11 @@ function symlink_subdirs {
 echo "Searching for auxiliary tests, workloads, and datasets (if any exist)."
 symlink_subdirs ${IMPALA_AUX_WORKLOAD_DIR} ${IMPALA_WORKLOAD_DIR}
 symlink_subdirs ${IMPALA_AUX_DATASET_DIR} ${IMPALA_DATASET_DIR}
-symlink_subdirs ${IMPALA_AUX_TEST_HOME}/tests ${IMPALA_HOME}/tests
+
+if [ -d ${IMPALA_AUX_TEST_HOME}/tests/functional ]; then
+  symlink_subdirs ${IMPALA_AUX_TEST_HOME}/tests/functional ${IMPALA_HOME}/tests
+else
+  # For compatibility with older auxiliary tests, which aren't in the
+  # functional subdirectory.
+  symlink_subdirs ${IMPALA_AUX_TEST_HOME}/tests ${IMPALA_HOME}/tests
+fi