mirror of https://github.com/apache/cassandra
CircleCI: Add jobs for missing specialized unit tests
Fix run_repeated_utests for non-testsome targets patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-17987
This commit is contained in:
parent
ccc0b14d56
commit
116ce3bc05
|
|
@ -1004,6 +1004,13 @@ commands:
|
|||
# Put manually specified tests and automatically detected tests together, removing duplicates
|
||||
tests=$(echo <<parameters.tests>> | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=<<parameters.target>>
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
|
|
@ -1031,7 +1038,7 @@ commands:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1056,7 +1063,7 @@ commands:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1064,7 +1071,7 @@ commands:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
|
|||
|
|
@ -181,6 +181,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-compression
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -207,7 +214,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -232,7 +239,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -240,7 +247,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -353,6 +360,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS_LONG} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=long-testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -379,7 +393,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -404,7 +418,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -412,7 +426,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -525,6 +539,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -551,7 +572,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -576,7 +597,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -584,7 +605,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1157,6 +1178,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_UPGRADE_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1183,7 +1211,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1208,7 +1236,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1216,7 +1244,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1588,6 +1616,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1614,7 +1649,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1639,7 +1674,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1647,7 +1682,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
|
|||
|
|
@ -181,6 +181,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-compression
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -207,7 +214,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -232,7 +239,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -240,7 +247,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -353,6 +360,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS_LONG} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=long-testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -379,7 +393,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -404,7 +418,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -412,7 +426,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -525,6 +539,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -551,7 +572,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -576,7 +597,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -584,7 +605,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1157,6 +1178,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_UPGRADE_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1183,7 +1211,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1208,7 +1236,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1216,7 +1244,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1588,6 +1616,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1614,7 +1649,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1639,7 +1674,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1647,7 +1682,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
|
|||
|
|
@ -181,6 +181,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-compression
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -207,7 +214,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -232,7 +239,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -240,7 +247,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -353,6 +360,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS_LONG} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=long-testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -379,7 +393,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -404,7 +418,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -412,7 +426,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -525,6 +539,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -551,7 +572,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -576,7 +597,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -584,7 +605,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1157,6 +1178,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_UPGRADE_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1183,7 +1211,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1208,7 +1236,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1216,7 +1244,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1588,6 +1616,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1614,7 +1649,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1639,7 +1674,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1647,7 +1682,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
|
|||
|
|
@ -181,6 +181,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-compression
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -207,7 +214,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -232,7 +239,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -240,7 +247,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -353,6 +360,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS_LONG} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=long-testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -379,7 +393,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -404,7 +418,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -412,7 +426,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -525,6 +539,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_UTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=testsome
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -551,7 +572,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -576,7 +597,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -584,7 +605,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1157,6 +1178,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_UPGRADE_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1183,7 +1211,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1208,7 +1236,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1216,7 +1244,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1588,6 +1616,13 @@ jobs:
|
|||
tests=$(echo ${REPEATED_JVM_DTESTS} | sed -e "s/<nil>//" | sed -e "s/ //" | tr "," "\n" | tr " " "\n" | sort -n | uniq -u)
|
||||
echo "Tests to be repeated: ${tests}"
|
||||
|
||||
# Prepare the testtag for the target, used by the test macro in build.xml to group the output files
|
||||
target=test-jvm-dtest-some
|
||||
testtag=""
|
||||
if [[ $target == "test-compression" ]]; then
|
||||
testtag="compression"
|
||||
fi
|
||||
|
||||
# Run each test class as many times as requested.
|
||||
exit_code="$?"
|
||||
for test in $tests; do
|
||||
|
|
@ -1614,7 +1649,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# Prepare the -Dtest.methods argument, which is optional
|
||||
if [ $method == "" ]; then
|
||||
if [[ $method == "" ]]; then
|
||||
methods_arg=""
|
||||
else
|
||||
methods_arg="-Dtest.methods=$method"
|
||||
|
|
@ -1639,7 +1674,7 @@ jobs:
|
|||
mv stdout.txt $dest/${test}.txt
|
||||
|
||||
# move the XML output files
|
||||
source=build/test/output
|
||||
source=build/test/output/${testtag}
|
||||
dest=/tmp/results/repeated_utests/output/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
@ -1647,7 +1682,7 @@ jobs:
|
|||
fi
|
||||
|
||||
# move the log files
|
||||
source=build/test/logs
|
||||
source=build/test/logs/${testtag}
|
||||
dest=/tmp/results/repeated_utests/logs/${status}/${i}
|
||||
mkdir -p $dest
|
||||
if [[ -d $source && -n "$(ls $source)" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue