forked from OSchip/llvm-project
[NFC][lit] Add missing UNRESOLVED test
D102899 will change it behavour.
This commit is contained in:
parent
3294001304
commit
bbdabb044d
|
@ -11,6 +11,7 @@ FirstTest.
|
|||
subTestA
|
||||
subTestB
|
||||
subTestC
|
||||
subTestD
|
||||
ParameterizedTest/0.
|
||||
subTest
|
||||
ParameterizedTest/1.
|
||||
|
@ -34,6 +35,9 @@ elif test_name == 'FirstTest.subTestC':
|
|||
print('[ SKIPPED ] 1 test, listed below:')
|
||||
print('[ SKIPPED ] FirstTest.subTestC')
|
||||
sys.exit(0)
|
||||
elif test_name == 'FirstTest.subTestD':
|
||||
print('I am subTest D, I am UNRESOLVED')
|
||||
sys.exit(0)
|
||||
elif test_name in ('ParameterizedTest/0.subTest',
|
||||
'ParameterizedTest/1.subTest'):
|
||||
print('I am a parameterized test, I also PASS')
|
||||
|
|
|
@ -12,6 +12,7 @@ FirstTest.
|
|||
subTestA
|
||||
subTestB
|
||||
subTestC
|
||||
subTestD
|
||||
ParameterizedTest/0.
|
||||
subTest
|
||||
ParameterizedTest/1.
|
||||
|
@ -36,6 +37,9 @@ elif test_name == 'FirstTest.subTestC':
|
|||
print('[ SKIPPED ] 1 test, listed below:')
|
||||
print('[ SKIPPED ] FirstTest.subTestC')
|
||||
sys.exit(0)
|
||||
elif test_name == 'FirstTest.subTestD':
|
||||
print('I am subTest D, I am UNRESOLVED')
|
||||
sys.exit(0)
|
||||
elif test_name in ('ParameterizedTest/0.subTest',
|
||||
'ParameterizedTest/1.subTest'):
|
||||
print('I am a parameterized test, I also PASS')
|
||||
|
|
|
@ -19,9 +19,11 @@
|
|||
# CHECK-NEXT: And I have two lines of output
|
||||
# CHECK: ***
|
||||
# CHECK: SKIPPED: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestC
|
||||
# CHECK: UNRESOLVED: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestD
|
||||
# CHECK: PASS: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/0.subTest
|
||||
# CHECK: PASS: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/1.subTest
|
||||
# CHECK: Failed Tests (1)
|
||||
# CHECK: Skipped{{ *}}: 1
|
||||
# CHECK: Passed{{ *}}: 3
|
||||
# CHECK: Unresolved{{ *}}: 1
|
||||
# CHECK: Failed{{ *}}: 1
|
||||
|
|
|
@ -17,9 +17,11 @@
|
|||
# CHECK-NEXT: And I have two lines of output
|
||||
# CHECK: ***
|
||||
# CHECK: SKIPPED: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestC
|
||||
# CHECK: UNRESOLVED: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestD
|
||||
# CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/0.subTest
|
||||
# CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/1.subTest
|
||||
# CHECK: Failed Tests (1)
|
||||
# CHECK: Skipped{{ *}}: 1
|
||||
# CHECK: Passed{{ *}}: 3
|
||||
# CHECK: Unresolved{{ *}}: 1
|
||||
# CHECK: Failed{{ *}}: 1
|
||||
|
|
Loading…
Reference in New Issue