blob: ae6f0b603f0853ed7411045e535d24eac79e5684 [file] [log] [blame]
// Copyright 2017 The Chromium OS Authors. All rights reserved.
// 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 (
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))