19 lines
587 B
Python
19 lines
587 B
Python
"""Use the persistent Android semantic test with root input and restored settings."""
|
|
from pathlib import Path
|
|
import argparse
|
|
import subprocess
|
|
import sys
|
|
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument('--adb', required=True)
|
|
parser.add_argument('--build', type=Path, required=True)
|
|
args = parser.parse_args()
|
|
return subprocess.run([sys.executable, str(Path(__file__).with_name('run_ble_test.py')),
|
|
'--adb', args.adb, '--build', str(args.build), '--test', 'layout']).returncode
|
|
|
|
|
|
if __name__ == '__main__':
|
|
raise SystemExit(main())
|