| // Copyright 2017 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Package main implements the remote_test_runner executable. |
| // |
| // remote_test_runner is executed directly by the tast command. |
| // It runs test bundles and reports the results back to tast. |
| package main |
| |
| import ( |
| "os" |
| |
| "go.chromium.org/tast/core/internal/runner" |
| ) |
| |
| func main() { |
| scfg := runner.StaticConfig{ |
| Type: runner.RemoteRunner, |
| KillStaleRunners: true, |
| EnableSyslog: true, |
| DeprecatedDirectRunDefaults: runner.DeprecatedDirectRunConfig{ |
| BundleGlob: "/usr/libexec/tast/bundles/remote/*", // default glob matching test bundles |
| DataDir: "/usr/share/tast/data", // default dir containing test data |
| }, |
| } |
| os.Exit(runner.Run(os.Args[1:], os.Stdin, os.Stdout, os.Stderr, &scfg)) |
| } |