You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
18
external/llvm/utils/lit/tests/unittest-adaptor.py
vendored
Normal file
18
external/llvm/utils/lit/tests/unittest-adaptor.py
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# Check the lit adaption to run under unittest.
|
||||
#
|
||||
# RUN: %{python} %s %{inputs}/unittest-adaptor 2> %t.err
|
||||
# RUN: FileCheck < %t.err %s
|
||||
#
|
||||
# CHECK-DAG: unittest-adaptor :: test-two.txt ... FAIL
|
||||
# CHECK-DAG: unittest-adaptor :: test-one.txt ... ok
|
||||
|
||||
import unittest
|
||||
import sys
|
||||
|
||||
import lit
|
||||
import lit.discovery
|
||||
|
||||
input_path = sys.argv[1]
|
||||
unittest_suite = lit.discovery.load_test_suite([input_path])
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
runner.run(unittest_suite)
|
Reference in New Issue
Block a user