Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 976a9509 authored by Treehugger Robot's avatar Treehugger Robot Committed by Remi NGUYEN VAN
Browse files

Add a SkipPresubmit annotation

The SkipPresubmit annotation allows tests to opt-out of presubmit
(instead of opt-in as for @android.platform.test.annotations.Presubmit).

Test: m
Bug: 158153057
Original-Change: https://android-review.googlesource.com/1324131
Merged-In: Id013732057f9e8fc94be9dccba080a902d409842
Change-Id: Id013732057f9e8fc94be9dccba080a902d409842
parent d431edc1
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
/*
 * 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