diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2021-08-12 12:03:24 -0700 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2021-08-12 22:47:56 +0000 |
commit | 54fd5f77b87649f8ab9b6699e064386fdceaecec (patch) | |
tree | b27b01463388755905959e32acc9072ac333e7c0 /runtime/common_runtime_test.cc | |
parent | 029a811dcb18e54d54aca805db7f8af452798a0a (diff) | |
parent | 7b4fead5e9441eeb9ff5a9336d500b49ffae8d97 (diff) |
Merge ab/7633965
Bug: 169893837
Merged-In: Icb57ed5eb6b8976ecf6ac88bf8c278bbe144b450
Change-Id: I42ed1234422b6af296254d93055f9e3a69441c6c
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r-- | runtime/common_runtime_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index 0d21de148a..b748e37917 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -132,8 +132,10 @@ void CommonRuntimeTestImpl::SetUp() { FinalizeSetup(); - // Ensure that we're really running with debug checks enabled. - CHECK(gSlowDebugTestFlag); + if (kIsDebugBuild) { + // Ensure that we're really running with debug checks enabled. + CHECK(gSlowDebugTestFlag); + } } void CommonRuntimeTestImpl::FinalizeSetup() { |