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.shindex 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_testsdeclare buildlogfile=$2if [[ "${module}" =~ ^lucene/analysis/ ]]; thenJUNIT_TEST_OUTPUT_DIR="../../build/${module#*/}"+ elif [[ "${module}" =~ ^lucene/ ]]; then+ JUNIT_TEST_OUTPUT_DIR="../build/${module#*/}"elif [[ "${module}" =~ ^solr/contrib/extraction ]]; thenJUNIT_TEST_OUTPUT_DIR="../../build/contrib/solr-cell"elif [[ "${module}" =~ ^solr/contrib/(.*) ]]; thenJUNIT_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]}"fiyetus_debug "Rerouting build dir for junit to ${JUNIT_TEST_OUTPUT_DIR}"}