blob: b6a108025fb83423ecbf40695e8a8bd33f9c7393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env python
import sys
import os
dotest_path = '@LLDB_SOURCE_DIR@/test/dotest.py'
dotest_args = '@LLDB_DOTEST_ARGS_STR@'
if __name__ == '__main__':
# FIXME: It would be nice if we can mimic the approach taken by llvm-lit
# and pass a python configuration straight to dotest, rather than going
# through the operating system.
command = '{} -q {} {}'.format(dotest_path, dotest_args, ' '.join(
sys.argv[1:]))
os.system(command)
|