diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-07 16:59:05 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-07 16:59:05 +0000 |
commit | 23c944f6dd01b7975a0dd85d48ab4f2abbad2593 (patch) | |
tree | dd72a84514306c5cc0c9025a1fb9e9e3976ced32 /simpleperf/scripts/test/test.py | |
parent | e474f50680b5c938d7462172b949578699df2854 (diff) | |
parent | 3b739c8720db08d5b34e8a547a5b2f6305fe37b6 (diff) | |
download | extras-23c944f6dd01b7975a0dd85d48ab4f2abbad2593.tar.gz |
Snap for 7803083 from 3b739c8720db08d5b34e8a547a5b2f6305fe37b6 to mainline-tzdata2-release
Change-Id: I3f7a03441a6392968c6e25d20d018e592a2c1e93
Diffstat (limited to 'simpleperf/scripts/test/test.py')
-rwxr-xr-x | simpleperf/scripts/test/test.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/simpleperf/scripts/test/test.py b/simpleperf/scripts/test/test.py new file mode 100755 index 00000000..eac3d29d --- /dev/null +++ b/simpleperf/scripts/test/test.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 +# +# Copyright (C) 2021 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. + +from pathlib import Path +import sys + +# fmt: off +sys.path.insert(0, str(Path(__file__).resolve().parents[1])) +import test +# fmt: on + +if __name__ == '__main__': + sys.exit(0 if test.main() else 1) |