summaryrefslogtreecommitdiff
path: root/rust/test.go
diff options
context:
space:
mode:
author Zhenhuang Wang <zeek@google.com> 2022-08-17 15:22:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-08-17 15:22:18 +0000
commit852d0c48593fb2a17d301d7274edac907e8e194f (patch)
treeb47943204e5e9ca140d7074daa5677858b6d5425 /rust/test.go
parentb2f584ba5855a016e66fc951d405655f74114a80 (diff)
parent0ac5a431a98d6f0fbc9434d4c7955981117f781f (diff)
Merge "Move common test_options properties into the android package"
Diffstat (limited to 'rust/test.go')
-rw-r--r--rust/test.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/rust/test.go b/rust/test.go
index 6e5393595..0cc3bca6e 100644
--- a/rust/test.go
+++ b/rust/test.go
@@ -24,12 +24,6 @@ import (
"android/soong/tradefed"
)
-// Test option struct.
-type TestOptions struct {
- // If the test is a hostside(no device required) unittest that shall be run during presubmit check.
- Unit_test *bool
-}
-
type TestProperties struct {
// Disables the creation of a test-specific directory when used with
// relative_install_path. Useful if several tests need to be in the same
@@ -67,7 +61,7 @@ type TestProperties struct {
Test_harness *bool
// Test options.
- Test_options TestOptions
+ Test_options android.CommonTestOptions
// Add RootTargetPreparer to auto generated test config. This guarantees the test to run
// with root permission.