Bug 1451008 - Disable perfherder reporting for microbenchmarks on asan builds r=froydnj

MozReview-Commit-ID: HZLU6gsx7Sq

--HG--
extra : rebase_source : b02b507173dd0a36af8fddbae20827be648c7ae2
This commit is contained in:
William Lachance 2018-04-03 11:31:36 -04:00
Родитель 6a70261b2b
Коммит be63617e6b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -18,7 +18,7 @@ namespace mozilla {
void GTestBench(const char* aSuite, const char* aName,
const std::function<void()>& aTest)
{
#ifdef DEBUG
#if defined(DEBUG) || defined(MOZ_ASAN)
// Run the test to make sure that it doesn't fail but don't log
// any measurements since it's not an optimized build.
aTest();