forked from OSchip/llvm-project
[lit][test] relaxed GTEST_TOTAL_SHARDS checking for some googletests
For machines with a small number of cores, GTEST_TOTAL_SHARDS may be lower than 6.
This commit is contained in:
parent
ca479dac51
commit
14d3021c10
|
@ -7,7 +7,7 @@
|
|||
# CHECK: *** TEST 'googletest-crash :: [[PATH]][[FILE]]/0{{.*}} FAILED ***
|
||||
# CHECK-NEXT: Script(shard):
|
||||
# CHECK-NEXT: --
|
||||
# CHECK-NEXT: GTEST_OUTPUT=json:[[JSON:[^[:space:]]*\.json]] GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=6 GTEST_SHARD_INDEX=0 {{.*}}[[FILE]]
|
||||
# CHECK-NEXT: GTEST_OUTPUT=json:[[JSON:[^[:space:]]*\.json]] GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS={{[1-6]}} GTEST_SHARD_INDEX=0 {{.*}}[[FILE]]
|
||||
# CHECK-NEXT: --
|
||||
# CHECK-EMPTY:
|
||||
# CHECK-NEXT: [----------] 4 test from FirstTest
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# CHECK: *** TEST 'googletest-format :: [[PATH]][[FILE]]/0{{.*}} FAILED ***
|
||||
# CHECK-NEXT: Script(shard):
|
||||
# CHECK-NEXT: --
|
||||
# CHECK-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=1 GTEST_TOTAL_SHARDS=6 GTEST_SHARD_INDEX=0 GTEST_RANDOM_SEED=123 {{.*}}[[FILE]]
|
||||
# CHECK-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=1 GTEST_TOTAL_SHARDS={{[1-6]}} GTEST_SHARD_INDEX=0 GTEST_RANDOM_SEED=123 {{.*}}[[FILE]]
|
||||
# CHECK-NEXT: --
|
||||
# CHECK-EMPTY:
|
||||
# CHECK-NEXT: Script:
|
||||
|
|
Loading…
Reference in New Issue