Skip to content

Apache Lucene open-source search software

SOLR-10912: fix routing of Solr non-contrib build output dirs (e.g. solr/core -> ../build/solr-core; previously -> ../build/core)

Steve Rowe51a6bec48d0b
diff --git a/dev-tools/test-patch/lucene-solr-yetus-personality.sh b/dev-tools/test-patch/lucene-solr-yetus-personality.sh
index 4e08aa5aa15..2bd7359bdd0 100644
--- a/dev-tools/test-patch/lucene-solr-yetus-personality.sh
+++ b/dev-tools/test-patch/lucene-solr-yetus-personality.sh
@@ -198,12 +198,14 @@ function testoutput_process_tests
declare buildlogfile=$2
if [[ "${module}" =~ ^lucene/analysis/ ]]; then
JUNIT_TEST_OUTPUT_DIR="../../build/${module#*/}"
+ elif [[ "${module}" =~ ^lucene/ ]]; then
+ JUNIT_TEST_OUTPUT_DIR="../build/${module#*/}"
elif [[ "${module}" =~ ^solr/contrib/extraction ]]; then
JUNIT_TEST_OUTPUT_DIR="../../build/contrib/solr-cell"
elif [[ "${module}" =~ ^solr/contrib/(.*) ]]; then
JUNIT_TEST_OUTPUT_DIR="../../build/contrib/solr-${BASH_REMATCH[1]}"
- elif [[ "${module}" =~ ^(lucene|solr)/ ]]; then
- JUNIT_TEST_OUTPUT_DIR="../build/${module#*/}"
+ elif [[ "${module}" =~ ^solr/(.*) ]]; then
+ JUNIT_TEST_OUTPUT_DIR="../build/solr-${BASH_REMATCH[1]}"
fi
yetus_debug "Rerouting build dir for junit to ${JUNIT_TEST_OUTPUT_DIR}"
}