diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2019-10-11 07:19:54 +0000 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2019-10-11 07:19:54 +0000 |
commit | 404e21289a5e5361d27988872bde9dfcd1bbc2ae (patch) | |
tree | 314f5425b55c57a126c7e098ba2cb96f7b3b9c6c | |
parent | 7ff28ce18351f38719ca0e6ed666f922cc21e379 (diff) | |
download | bcm5719-llvm-404e21289a5e5361d27988872bde9dfcd1bbc2ae.tar.gz bcm5719-llvm-404e21289a5e5361d27988872bde9dfcd1bbc2ae.zip |
[ADT][Statistics] Fix test after rL374490
llvm-svn: 374518
-rw-r--r-- | llvm/unittests/ADT/StatisticTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/ADT/StatisticTest.cpp b/llvm/unittests/ADT/StatisticTest.cpp index eb7a947224d..e5a0cad26d6 100644 --- a/llvm/unittests/ADT/StatisticTest.cpp +++ b/llvm/unittests/ADT/StatisticTest.cpp @@ -68,6 +68,8 @@ TEST(StatisticTest, Assign) { TEST(StatisticTest, API) { EnableStatistics(); + // Reset beforehand to make sure previous tests don't effect this one. + ResetStatistics(); Counter = 0; EXPECT_EQ(Counter, 0u); |