File tree Expand file tree Collapse file tree 10 files changed +13
-288
lines changed Expand file tree Collapse file tree 10 files changed +13
-288
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7474 test_ets : {
7575 label : " ETS tests "
7676 after : [" compile " ]
77- command : [" ./test-ets-bitte .sh " ]
77+ command : [" ./test-ets.sh " ]
7878 outputs : [
7979 " /local/repo/mantis-log.txt " ,
8080 " /local/repo/retesteth-GeneralStateTests-log.txt " ,
@@ -100,7 +100,7 @@ ci: {
100100 publish : {
101101 label : " Publishing libraries to Maven "
102102 after : [" test_crypto " , " test_rlp " , " test_unit " ]
103- command : [ " .buildkite /publish.sh " ] // TODO
103+ command : [ " ./publish.sh " ] // TODO
104104 outputs : [
105105 " /local/repo/target/universal/mantis-*.zip " ,
106106 ]
Original file line number Diff line number Diff line change @@ -20,9 +20,8 @@ running them separately.
2020
2121## Continous integration
2222
23- The tests are run on CI. For more details look at ` .buildkite/pipeline.nix ` and
24- ` test-ets.sh ` . Output is stored as artifacts and a summary is added as
25- annotation.
23+ The tests are run on CI. For more details look at ` ./ci.cue ` and
24+ ` test-ets.sh ` . Output is stored as artifacts.
2625
2726Two test suites are run; GeneralStateTests and BlockchainTests. These seem to
2827be the only ones maintained and recommended at the moment.
@@ -72,4 +71,4 @@ made by retesteth and also print out the state by using our `debug_*` endpoints.
7271
7372 - ` debug_accountRange ` will only list accounts known at the genesis state.
7473 - ` debug_storageRangeAt ` is not able to show the state after an arbitrary transaction inside a block.
75- It will just return the state after all transaction in the block have run.
74+ It will just return the state after all transaction in the block have run.
File renamed without changes.
Original file line number Diff line number Diff line change 11{ sources ? import nix/sources.nix , pkgs ? import ./nix { } } :
2+ with pkgs ;
23
3- if __getEnv "BUILDKITE" == "true" then
4- import .buildkite/shell.nix { inherit sources pkgs ; }
5- else
6- with pkgs ;
7-
8- mkShell {
9- nativeBuildInputs = [ protobuf sbt ] ;
10- inputsFrom = [ mantis ] ;
11- }
4+ mkShell {
5+ nativeBuildInputs = [ protobuf sbt ] ;
6+ inputsFrom = [ mantis ] ;
7+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212
1313final_exit_code=0
1414
15- function run_and_annotate {
15+ function run {
1616 echo " running retesteth $1 "
1717 timeout 15m ets/retesteth -t " $1 " -- --verbosity 3 & > " retesteth-$1 -log.txt"
1818 exit_code=$?
1919 echo " retesteth $1 exit code: $exit_code "
20-
21- style=" info"
22- if [[ " $exit_code " -gt " 0" ]]; then
23- final_exit_code=" $exit_code "
24- style=" error"
25- fi
26-
27- summary=$( sed -n ' /Total Tests Run/,$p' " retesteth-$1 -log.txt" )
28- if [[ -z " $summary " ]]; then
29- summary=" retesteth crashed; check the artifacts"
30- 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" )
33-
34- cat << EOF | buildkite-agent annotate --context "retesteth-$1 " --style "$style "
35- <details>
36- <summary>retesteth: $1 -- $passed -- $failed </summary>
37- <pre class="term"><code>
38- $summary
39- </code></pre>
40- </details>
41- EOF
4220}
4321
44- run_and_annotate " GeneralStateTests"
45- run_and_annotate " BlockchainTests"
22+ run " GeneralStateTests"
23+ run " BlockchainTests"
4624
4725echo " shutting down mantis"
4826kill %1
You can’t perform that action at this time.
0 commit comments