summaryrefslogtreecommitdiffstats
path: root/crypto/run_all_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/run_all_unittests.cc')
-rw-r--r--crypto/run_all_unittests.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/crypto/run_all_unittests.cc b/crypto/run_all_unittests.cc
new file mode 100644
index 0000000..6f37e66
--- /dev/null
+++ b/crypto/run_all_unittests.cc
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/test/test_suite.h"
+#include "crypto/nss_util.h"
+
+int main(int argc, char** argv) {
+#if defined(USE_NSS)
+ // This is most likely not needed, but it basically replaces a similar call
+ // that was performed on test_support_base.
+ TODO(rvargas) Bug 79359: remove this.
+ crypto::EnsureNSSInit();
+#endif // defined(USE_NSS)
+
+ return base::TestSuite(argc, argv).Run();
+}