github.com/coreos/mantle@v0.13.0/kola/tests/coretest/testgroupglue.go (about)

     1  package coretest
     2  
     3  import (
     4  	"github.com/coreos/mantle/kola/cluster"
     5  )
     6  
     7  // run various native functions that only require a single machine
     8  func LocalTests(c cluster.TestCluster) {
     9  	tests := c.ListNativeFunctions()
    10  	for _, name := range tests {
    11  		c.RunNative(name, c.Machines()[0])
    12  	}
    13  }
    14  
    15  // run internet based tests
    16  func InternetTests(c cluster.TestCluster) {
    17  	tests := c.ListNativeFunctions()
    18  	for _, name := range tests {
    19  		c.RunNative(name, c.Machines()[0])
    20  	}
    21  }