blob: 85012a51376f1dc23c6a49531ceb45ae58ae62e1 [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 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.
import os
import sys
if __name__ == '__main__':
top = os.getenv('ANDROID_BUILD_TOP')
if not top:
print('Unable to locate ANDROID_BUILD_TOP.')
sys.exit(1)
env_vars = os.environ.copy()
os.chdir(top)
cmd = ('python tools/asuite/atest/integration_tests/'
'atest_command_verification_tests.py --use-prebuilt-atest-binary')
sys.exit(os.system(cmd))