Skip to content

Commit 68ebb5c

Browse files
authored
Rollback ETS subproject to 8.0.2 to fix retesteth crashes (#982)
also small tweaks to related scripts
1 parent 51536c4 commit 68ebb5c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ets/retesteth

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
dir="$(cd "$(dirname "$0")" && pwd)"
44

5-
retesteth $@ -- --testpath $dir/tests --datadir $dir/config --clients mantis
5+
separator="--"
6+
if [[ $@ =~ "--" ]]; then
7+
separator=""
8+
fi
9+
10+
retesteth $@ $separator --testpath $dir/tests --datadir $dir/config --clients mantis

ets/tests

Submodule tests updated 1863 files

test-ets.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ function run_and_annotate {
2828
if [[ -z "$summary" ]]; then
2929
summary="retesteth crashed; check the artifacts"
3030
fi
31+
passed=$(grep -oP 'Total Tests Run: \d+' "retesteth-$1-log.txt")
32+
failed=$(grep -oP 'TOTAL ERRORS DETECTED: \d+' "retesteth-$1-log.txt")
3133

3234
cat <<EOF | buildkite-agent annotate --context "retesteth-$1" --style "$style"
3335
<details>
34-
<summary>retesteth: $1</summary>
36+
<summary>retesteth: $1 -- $passed -- $failed</summary>
3537
<pre class="term"><code>
3638
$summary
3739
</code></pre>

0 commit comments

Comments
 (0)