@@ -137,21 +137,35 @@ commands:
137
137
138
138
download_execution_tests :
139
139
parameters :
140
+ repo :
141
+ type : string
142
+ default : " ethereum/tests"
140
143
rev :
141
144
type : string
142
145
default : develop
143
146
commit :
144
147
type : string
145
148
default : " "
149
+ legacy :
150
+ description : " Download also legacy tests"
151
+ type : boolean
152
+ default : true
146
153
steps :
147
154
- run :
148
155
name : " Download execution tests: <<parameters.rev>> <<parameters.commit>>"
149
156
working_directory : ~/tests
150
157
command : |
151
- git clone --no-checkout --depth=250 --single-branch https://github.com/ethereum/tests . --branch <<parameters.rev>>
158
+ find . -delete
159
+ git clone --no-checkout --depth=100 --single-branch https://github.com/<<parameters.repo>> . --branch <<parameters.rev>>
152
160
<<#parameters.rev>>git checkout <<parameters.rev>><</parameters.rev>>
153
161
<<#parameters.commit>>git checkout <<parameters.commit>><</parameters.commit>>
154
- git submodule update --init --recursive --depth=1 --progress
162
+ - when :
163
+ condition : <<parameters.legacy>>
164
+ steps :
165
+ - run :
166
+ name : " Download legacy execution tests (git submodule)"
167
+ working_directory : ~/tests
168
+ command : git submodule update --init --recursive --depth=1 --progress
155
169
156
170
build :
157
171
description : " Build"
@@ -436,7 +450,16 @@ jobs:
436
450
working_directory : ~/build
437
451
command : |
438
452
export EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json
439
- bin/evmone-statetest ~/tests/GeneralStateTests ~/tests/EIPTests/StateTests/stEOF ~/tests/LegacyTests/Constantinople/GeneralStateTests
453
+ bin/evmone-statetest ~/tests/GeneralStateTests ~/tests/LegacyTests/Constantinople/GeneralStateTests
454
+ - download_execution_tests :
455
+ repo : ipsilon/tests
456
+ rev : eof
457
+ legacy : false
458
+ - run :
459
+ name : " State tests (EOF)"
460
+ working_directory : ~/build
461
+ command : |
462
+ bin/evmone-statetest ~/tests/EIPTests/StateTests/stEOF
440
463
- collect_coverage_gcc
441
464
- upload_coverage :
442
465
flags : statetests
0 commit comments