mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
build: skip spectests with -short flag
This commit is contained in:
parent
d763df3a58
commit
fc95109944
1 changed files with 10 additions and 11 deletions
|
|
@ -356,7 +356,6 @@ func doTest(cmdline []string) {
|
|||
race = flag.Bool("race", false, "Execute the race detector")
|
||||
short = flag.Bool("short", false, "Pass the 'short'-flag to go test")
|
||||
cachedir = flag.String("cachedir", "./build/cache", "directory for caching downloads")
|
||||
skipspectests = flag.Bool("skip-spectests", false, "Skip downloading execution-spec-tests fixtures")
|
||||
threads = flag.Int("p", 1, "Number of CPU threads to use for testing")
|
||||
)
|
||||
flag.CommandLine.Parse(cmdline)
|
||||
|
|
@ -365,7 +364,7 @@ func doTest(cmdline []string) {
|
|||
csdb := download.MustLoadChecksums("build/checksums.txt")
|
||||
|
||||
// Get test fixtures.
|
||||
if !*skipspectests {
|
||||
if !*short {
|
||||
downloadSpecTestFixtures(csdb, *cachedir)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue