mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[lit] Make main.py a pure Python module
Running it directly as a tool, that is what lit.py is for.
This commit is contained in:
parent
9aa42cfd01
commit
550eee0284
@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import sys
|
|
||||||
|
|
||||||
from lit.main import main
|
import lit.main
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
lit.main()
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
lit - LLVM Integrated Tester.
|
lit - LLVM Integrated Tester.
|
||||||
|
|
||||||
@ -381,6 +379,3 @@ def write_test_results_xunit(tests, opts):
|
|||||||
xunit_output_file.write("</testsuite>\n")
|
xunit_output_file.write("</testsuite>\n")
|
||||||
xunit_output_file.write("</testsuites>")
|
xunit_output_file.write("</testsuites>")
|
||||||
xunit_output_file.close()
|
xunit_output_file.close()
|
||||||
|
|
||||||
if __name__=='__main__':
|
|
||||||
main()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user