Skip to content

Commit

Permalink
Rollback ETS subproject to 8.0.2 to fix retesteth crashes (#982)
Browse files Browse the repository at this point in the history
also small tweaks to related scripts
  • Loading branch information
jvdp authored May 12, 2021
1 parent 51536c4 commit 68ebb5c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion ets/retesteth
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

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

retesteth $@ -- --testpath $dir/tests --datadir $dir/config --clients mantis
separator="--"
if [[ $@ =~ "--" ]]; then
separator=""
fi

retesteth $@ $separator --testpath $dir/tests --datadir $dir/config --clients mantis
2 changes: 1 addition & 1 deletion ets/tests
Submodule tests updated 1863 files
4 changes: 3 additions & 1 deletion test-ets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ function run_and_annotate {
if [[ -z "$summary" ]]; then
summary="retesteth crashed; check the artifacts"
fi
passed=$(grep -oP 'Total Tests Run: \d+' "retesteth-$1-log.txt")
failed=$(grep -oP 'TOTAL ERRORS DETECTED: \d+' "retesteth-$1-log.txt")

cat <<EOF | buildkite-agent annotate --context "retesteth-$1" --style "$style"
<details>
<summary>retesteth: $1</summary>
<summary>retesteth: $1 -- $passed -- $failed</summary>
<pre class="term"><code>
$summary
</code></pre>
Expand Down

0 comments on commit 68ebb5c

Please sign in to comment.