@@ -2471,17 +2471,11 @@ func init() {
2471
2471
},
2472
2472
})
2473
2473
addBuilder (BuildConfig {
2474
- HostType : "host-linux-riscv64-joelsing" ,
2475
- Name : "linux-riscv64-jsing" ,
2476
- SkipSnapshot : true ,
2477
- env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2478
- distTestAdjust : func (run bool , distTest string , isNormalTry bool ) bool {
2479
- switch distTest {
2480
- case "api" , "reboot" :
2481
- return false
2482
- }
2483
- return run
2484
- },
2474
+ HostType : "host-linux-riscv64-joelsing" ,
2475
+ Name : "linux-riscv64-jsing" ,
2476
+ SkipSnapshot : true ,
2477
+ env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2478
+ distTestAdjust : riscvDistTestPolicy ,
2485
2479
buildsRepo : func (repo , branch , goBranch string ) bool {
2486
2480
switch repo {
2487
2481
case "go" , "net" , "sys" :
@@ -2492,17 +2486,11 @@ func init() {
2492
2486
},
2493
2487
})
2494
2488
addBuilder (BuildConfig {
2495
- HostType : "host-linux-riscv64-unleashed" ,
2496
- Name : "linux-riscv64-unleashed" ,
2497
- SkipSnapshot : true ,
2498
- env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2499
- distTestAdjust : func (run bool , distTest string , isNormalTry bool ) bool {
2500
- switch distTest {
2501
- case "api" , "reboot" :
2502
- return false
2503
- }
2504
- return run
2505
- },
2489
+ HostType : "host-linux-riscv64-unleashed" ,
2490
+ Name : "linux-riscv64-unleashed" ,
2491
+ SkipSnapshot : true ,
2492
+ env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2493
+ distTestAdjust : riscvDistTestPolicy ,
2506
2494
buildsRepo : func (repo , branch , goBranch string ) bool {
2507
2495
switch repo {
2508
2496
case "go" , "net" , "sys" :
@@ -2513,12 +2501,13 @@ func init() {
2513
2501
},
2514
2502
})
2515
2503
addBuilder (BuildConfig {
2516
- HostType : "host-linux-riscv64-unmatched" ,
2517
- Name : "linux-riscv64-unmatched" ,
2518
- env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2519
- FlakyNet : true ,
2520
- SkipSnapshot : true , // The builder has a slow uplink bandwidth.
2521
- buildsRepo : onlyMasterDefault ,
2504
+ HostType : "host-linux-riscv64-unmatched" ,
2505
+ Name : "linux-riscv64-unmatched" ,
2506
+ env : []string {"GO_TEST_TIMEOUT_SCALE=4" },
2507
+ FlakyNet : true ,
2508
+ SkipSnapshot : true , // The builder has a slow uplink bandwidth.
2509
+ buildsRepo : onlyMasterDefault ,
2510
+ distTestAdjust : riscvDistTestPolicy ,
2522
2511
})
2523
2512
addBuilder (BuildConfig {
2524
2513
Name : "linux-s390x-ibm" ,
@@ -2755,6 +2744,9 @@ func mipsBuildsRepoPolicy(repo, branch, goBranch string) bool {
2755
2744
}
2756
2745
}
2757
2746
2747
+ // riscvDistTestPolicy is same as mipsDistTestPolicy for now.
2748
+ var riscvDistTestPolicy = mipsDistTestPolicy
2749
+
2758
2750
// TryBuildersForProject returns the builders that should run as part of
2759
2751
// a TryBot set for the given project.
2760
2752
// The project argument is of the form "go", "net", "sys", etc.
0 commit comments