Lines Matching refs:lit
18 # Configuration file for the 'lit' test runner in Android libbcc
25 def inferTool(lit, binary_name, env_var, PATH):
34 tool = lit.util.which(binary_name, PATH)
37 lit.fatal("couldn't find " + binary_name + " program in " + PATH + " \
49 config.test_format = lit.formats.ShTest()
52 config.filecheck = inferTool(lit, 'FileCheck', 'FILECHECK', \
56 config.test_bcc_debuginfo = inferTool(lit, 'test_bcc_debuginfo.pl', \
61 config.gdb = inferTool(lit, 'arm-linux-androideabi-gdb', 'GDB',
65 config.gdb_plugin = inferTool(lit, 'android-commands.py',
71 config.perl = inferTool(lit, 'perl', 'PERL', config.environment['PATH'])
72 config.sh = inferTool(lit, 'bash', 'BASH', config.environment['PATH'])
75 config.clang = inferTool(lit, 'clang', 'CLANG',
77 config.bcc_driver = inferTool(lit, 'bcc', 'BCC_DRIVER',
82 config.build_test_apk = inferTool(lit, 'build_test_apk.sh',
97 if not lit.quiet:
98 lit.note('using bash: %r' % config.sh)
99 lit.note('using perl: %r' % config.perl)
100 lit.note('using verification script: %r' % config.test_bcc_debuginfo)
101 lit.note('using FileCheck: %r' % config.filecheck)
102 lit.note('using GDB: %r' % config.gdb)