-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: version number cannot use '+' Test Plan: CI pipeline Reviewers: joeyleeeeeee97, yuleil Issue: #225
- Loading branch information
1 parent
d6586ec
commit ed0818a
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
jtreg=/vmfarm/tools/jtreg-5.1-b01/jtreg/bin/jtreg | ||
|
||
test_func() | ||
{ | ||
${jtreg} $1 | ||
} | ||
|
||
concurrent() | ||
{ | ||
mkfifo ./fifo.$$ && exec 5<> ./fifo.$$ && rm -f ./fifo.$$ | ||
for ((i=0; i<10; i++)); do | ||
echo "" >&5 | ||
done | ||
for testCase in $(find $1 -iname *.java) | ||
do | ||
read -u 5 | ||
{ | ||
echo -e "-- current loop: [cmd id: $i ; fifo id: $REPLY ]" | ||
test_func $testCase | ||
echo "" >&5 | ||
} & | ||
done | ||
wait | ||
exec 5>&- | ||
} | ||
|
||
summary() | ||
{ | ||
passed=$(cat JTreport/text/summary.txt | grep -i 'Passed' | wc -l) | ||
failed=$(cat JTreport/text/summary.txt | grep -i 'Failed' | wc -l) | ||
echo -e "Summary Result: passed: $(cat JTreport/text/summary.txt | grep -i 'Passed' | wc -l), failed: $(cat JTreport/text/summary.txt | grep -i 'Failed' | wc -l)\n$failed" | ||
} | ||
#concurrent test/jdk/com/alibaba/rcm/ | ||
#summary | ||
HOTSPOT_TESTS="test/hotspot/jtreg/multi-tenant test/hotspot/jtreg/runtime/coroutine test/hotspot/jtreg/compiler/aot/appaot test/hotspot/jtreg/compiler/aot/pgo test/hotspot/jtreg/compiler/aot/invokedynamic test/hotspot/jtreg/jwarmup" | ||
#for xx in ${HOTSPOT_TESTS} | ||
#do | ||
# echo $xx | ||
#done | ||
res=$(summary | tail -n 1) | ||
echo $res |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11.0.15.11+9-GA | ||
11.0.15.11.9-GA |