github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/daemonservice/daemonservice_oss_test.go (about)

     1  //go:build !google_internal
     2  
     3  package daemonservice
     4  
     5  import (
     6  	"runtime"
     7  	"testing"
     8  )
     9  
    10  func testClient(t *testing.T) []string {
    11  	if runtime.GOOS == "windows" {
    12  		return []string{`testclient\testclient.exe`}
    13  	}
    14  
    15  	return []string{"testclient/testclient"}
    16  }
    17  
    18  func testClientPY(t *testing.T) []string {
    19  	return []string{"python", "-m", "fleetspeak.client_connector.testing.testclient"}
    20  }
    21  
    22  func testClientLauncherPY(t *testing.T) []string {
    23  	return []string{"python", "-m", "fleetspeak.client_connector.testing.testclient_launcher"}
    24  }