Open NaCl IRT file only once at startup
[chromium-blink-merge.git] / crypto / run_all_unittests.cc
blob9b6fc467a68d7237d4077f9005fdbc6d1c6b4701
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/test/test_suite.h"
6 #include "crypto/nss_util.h"
8 int main(int argc, char** argv) {
9 #if defined(USE_NSS)
10 // This is most likely not needed, but it basically replaces a similar call
11 // that was performed on test_support_base.
12 // TODO(rvargas) Bug 79359: remove this.
13 crypto::EnsureNSSInit();
14 #endif // defined(USE_NSS)
16 return base::TestSuite(argc, argv).Run();