forked from OSchip/llvm-project
[clang][deps] Fix failing modules.cpp test
Commit d8bab69ead
updated the ClangScanDeps/modules.cpp test. The new `{{.*}}` regex is supposed to only match `modules_cdb_input.o`, `a.o` or `b.o`. However, due to non-determinism, this can sometimes also match `modules_cdb_input2.o`, causing match failure on the next line. This commit changes the regex to only match one of the three valid cases.
Buildbot failure: https://lab.llvm.org/buildbot/#/builders/109/builds/16675
This commit is contained in:
parent
9e77526d46
commit
1d8882b5e4
|
@ -48,7 +48,7 @@
|
|||
// CHECK1-NEXT: Inputs{{/|\\}}header2.h
|
||||
// CHECK1: Inputs{{/|\\}}header.h
|
||||
|
||||
// CHECK2: {{.*}}.o:
|
||||
// CHECK2: {{(modules_cdb_input)|(a)|(b)}}.o:
|
||||
// CHECK2-NEXT: modules_cdb_input.cpp
|
||||
// CHECK2-NEXT: Inputs{{/|\\}}module.modulemap
|
||||
// CHECK2-NEXT: Inputs{{/|\\}}header.h
|
||||
|
|
Loading…
Reference in New Issue