Lines Matching refs:test_args
664 def art_apex_test_main(test_args): argument
665 if test_args.tree and test_args.debug:
668 if test_args.list and test_args.debug:
671 if test_args.list and test_args.tree:
674 if not test_args.tmpdir:
677 if not test_args.host and not test_args.debugfs:
680 if test_args.bitness not in ['32', '64', 'multilib', 'auto']:
684 if test_args.host:
685 apex_provider = HostApexProvider(test_args.apex, test_args.tmpdir)
687 apex_provider = TargetApexProvider(test_args.apex, test_args.tmpdir, test_args.debugfs)
692 if test_args.tree:
693 Tree(apex_provider, test_args.apex).print_tree()
695 if test_args.list:
700 if test_args.bitness == 'auto':
706 test_args.bitness = 'multilib'
709 test_args.bitness = '32'
712 test_args.bitness = '64'
718 if test_args.bitness == '32':
720 elif test_args.bitness == '64':
723 assert test_args.bitness == 'multilib'
727 if test_args.host:
731 if test_args.debug:
733 if test_args.debug and not test_args.host:
738 if not test_args.host:
767 test_args = test_parser.parse_args(['dummy']) # For consistency.
768 test_args.debugfs = '%s/bin/debugfs' % host_out
769 test_args.tmpdir = '.'
770 test_args.tree = False
771 test_args.list = False
772 test_args.bitness = 'auto'
775 if not os.path.exists(test_args.debugfs):
777 test_args.debugfs)
789 test_args.apex = '%s/system/apex/%s.apex' % (product_out, config['name'])
790 if not os.path.exists(test_args.apex):
792 logging.error("Cannot find APEX %s. Please build it first.", test_args.apex)
794 test_args.debug = config['debug']
795 test_args.host = config['host']
796 failed = art_apex_test_main(test_args) != 0