summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-06-06 09:06:35 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-06 09:06:35 +0000
commit0219125e707a126b2a108be6f3cc00da25e9ec59 (patch)
tree8cca7c287b183a22bbabf9f42c67a3542fb0199a
parent47e8610c057a41d263fdcb111c6512716c5af8ee (diff)
parenta6020be0ddea6af39636ad080b395c25d152d791 (diff)
Add a SkipPresubmit annotation am: 976a9509ab am: a6020be0dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/11746680 Change-Id: I5c625a09a40faf142e2975f0521f9742aeae4e83
-rw-r--r--tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt b/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt
new file mode 100644
index 0000000..69ed048
--- /dev/null
+++ b/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.testutils
+
+/**
+ * Skip the test in presubmit runs for the reason specified in [reason].
+ *
+ * This annotation is typically used to document hardware or test bench limitations.
+ */
+annotation class SkipPresubmit(val reason: String) \ No newline at end of file