MCPcopy
hub / github.com/syncthing/syncthing / integration

Function integration

build.go:419–437  ·  view source on GitHub ↗
(bench bool)

Source from the content-addressed store, hash-verified

417}
418
419func integration(bench bool) {
420 lazyRebuildAssets()
421 args := []string{"test", "-v", "-timeout", "60m", "-tags"}
422 tags := "integration"
423 if bench {
424 tags += ",benchmark"
425 }
426 args = append(args, tags)
427 args = append(args, runArgs()...)
428 if bench {
429 if run == "" {
430 args = append(args, "-run", "Benchmark")
431 }
432 args = append(args, benchArgs()...)
433 }
434 args = append(args, "./test")
435 fmt.Println(args)
436 runPrint(goCmd, args...)
437}
438
439func runArgs() []string {
440 if run == "" {

Callers 1

runCommandFunction · 0.85

Calls 4

lazyRebuildAssetsFunction · 0.85
runArgsFunction · 0.85
benchArgsFunction · 0.85
runPrintFunction · 0.85

Tested by

no test coverage detected