mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
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 <dknupp@cloudera.com> Tested-by: Impala Public Jenkins
This commit is contained in:
committed by
Impala Public Jenkins
parent
b581a9d1ee
commit
4ce23f72ba
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user