mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: use develop-fixtures
This commit is contained in:
parent
88f910bb0a
commit
a33e8299aa
4 changed files with 4 additions and 8 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue