build: use develop-fixtures

This commit is contained in:
Martin Holst Swende 2023-10-16 15:49:09 +02:00
parent 88f910bb0a
commit a33e8299aa
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0
4 changed files with 4 additions and 8 deletions

View file

@ -3,7 +3,7 @@
# version:spec-tests 1.0.5
# https://github.com/ethereum/execution-spec-tests/releases
# https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.5/
322085c2c2e173069d38d79034518e91bd53b29eaafd92a56f0ef753b5336aa7 fixtures.tar.gz
d4fd06a0e5f94beb970f3c68374b38ef9de82d4be77517d326bcf739c3cbf3a2 fixtures_develop.tar.gz
# version:golang 1.21.3
# https://go.dev/dl/

View file

@ -334,7 +334,7 @@ func downloadSpecTestFixtures(csdb *build.ChecksumDB, cachedir string) string {
log.Fatal(err)
}
ext := ".tar.gz"
base := "fixtures" // TODO(MariusVanDerWijden) rename once the version becomes part of the filename
base := "fixtures_develop" // TODO(MariusVanDerWijden) rename once the version becomes part of the filename
url := fmt.Sprintf("https://github.com/ethereum/execution-spec-tests/releases/download/v%s/%s%s", executionSpecTestsVersion, base, ext)
archivePath := filepath.Join(cachedir, base+ext)
if err := csdb.DownloadFile(url, archivePath); err != nil {

View file

@ -63,8 +63,8 @@ func blockTestCmd(ctx *cli.Context) error {
}
// run them in order
var keys []string
for k, _ := range tests {
keys = append(keys, k)
for key := range tests {
keys = append(keys, key)
}
sort.Strings(keys)
for _, name := range keys {

View file

@ -63,10 +63,6 @@ func TestExecutionSpec(t *testing.T) {
}
bt := new(testMatcher)
// cancun tests are not complete yet
//bt.skipLoad(`^cancun/`)
//bt.skipLoad(`-fork=Cancun`)
bt.walk(t, executionSpecDir, func(t *testing.T, name string, test *BlockTest) {
execBlockTest(t, bt, test)
})