blob: 1ddb91a4e0b0820dad978441b0f60c403bbb5bba [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 (
"os"
"chromiumos/tast/runner"
)
const (
defaultBundleGlob = "/usr/libexec/tast/bundles/remote/*" // default glob matching test bundles
defaultDataDir = "/usr/share/tast/data" // default dir containing test data
)
func main() {
args := runner.Args{
BundleGlob: defaultBundleGlob,
DataDir: defaultDataDir,
}
os.Exit(runner.Run(os.Args[1:], os.Stdin, os.Stdout, os.Stderr, &args, runner.RemoteRunner))
}