Skip to content

Commit

Permalink
igoptest: typeparam skip go1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfc committed Sep 7, 2022
1 parent a800b57 commit 1eaf1e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/igoptest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ func getGorootTestRuns() (dir string, run []runfile, runoutput []string) {
switch n {
case "bench", "dwarf", "codegen":
return filepath.SkipDir
case "typeparam":
ver := runtime.Version()[:6]
switch ver {
case "go1.18", "go1.19":
return nil
default:
return filepath.SkipDir
}
default:
if strings.Contains(n, ".dir") {
return filepath.SkipDir
Expand Down

0 comments on commit 1eaf1e3

Please sign in to comment.