Skip to content

cmd/compile: short tests are not short enough #26469

@rsc

Description

@rsc

Running all.bash (which does go test -short std cmd), my target is usually that individual tests should run in under 1 second.

These tests take quite a bit longer:

ok  	cmd/compile	17.195s
ok  	cmd/compile/internal/gc	24.281s

Can these be dialed back, either actually shortened or just have parts skipped when testing.Short() is true?

/cc @aclements @griesemer @randall77

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.TestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions