mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 22:56:05 +00:00

Add a new --order option to choose between available test orders: the default "smart" order, predictable "lexical" order or "random" order. Default to using lexical order and one job in the lit test suite. Differential Revision: https://reviews.llvm.org/D107695
11 lines
337 B
Python
11 lines
337 B
Python
# Check for correct error message when discovery of tests fails.
|
|
#
|
|
# RUN: not %{lit} -v %{inputs}/googletest-discovery-failed > %t.cmd.out
|
|
# RUN: FileCheck < %t.cmd.out %s
|
|
|
|
|
|
# CHECK: -- Testing:
|
|
# CHECK: Failed Tests (1):
|
|
# CHECK: googletest-discovery-failed :: subdir/OneTest.py/failed_to_discover_tests_from_gtest
|
|
# CHECK: Failed: 1
|