You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
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