forked from OSchip/llvm-project
[test] Reset timer flag after test is done
Fixes some test failures after D135219 on internal bots.
This commit is contained in:
parent
d85505a932
commit
aa5bc41b76
|
@ -110,6 +110,9 @@ TEST(TimePassesTest, LegacyCustomOut) {
|
|||
EXPECT_TRUE(TimePassesStr.str().contains("report"));
|
||||
EXPECT_FALSE(TimePassesStr.str().contains("Pass1"));
|
||||
EXPECT_TRUE(TimePassesStr.str().contains("Pass2"));
|
||||
|
||||
// Reset flag to not affect other tests.
|
||||
TimePassesIsEnabled = false;
|
||||
}
|
||||
|
||||
class MyPass1 : public PassInfoMixin<MyPass1> {};
|
||||
|
|
Loading…
Reference in New Issue