Backed out changeset 8526c7a38761 (bug 951354) for CPP unittest bustage
authorWes Kocher <wkocher@mozilla.com>
Fri, 17 Jan 2014 17:50:17 -0800
changeset 164114 41a0bf080410736d4971c148ca2c22a7c5d180ec
parent 164113 c5684d09fa1b7a75fe3b96718147742479eab48d
child 164115 eb1b7ba48d220586c31355ddc640489c839b20bb
push id26026
push userphilringnalda@gmail.com
push dateSat, 18 Jan 2014 23:17:27 +0000
treeherdermozilla-central@61fd0f987cf2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs951354
milestone29.0a1
backs out8526c7a387617c0d9db00c873e2b6bc3a0fbd5a4
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 8526c7a38761 (bug 951354) for CPP unittest bustage
security/manager/ssl/tests/compiled/TestCertDB.cpp
security/manager/ssl/tests/compiled/moz.build
security/manager/ssl/tests/moz.build
deleted file mode 100644
--- a/security/manager/ssl/tests/compiled/TestCertDB.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#include "nsCOMPtr.h"
-#include "nsIX509CertDB.h"
-#include "nsServiceManagerUtils.h"
-
-int
-main(int argc, char* argv[])
-{
-  {
-    NS_InitXPCOM2(nullptr, nullptr, nullptr);
-    nsCOMPtr<nsIX509CertDB> certdb(do_GetService(NS_X509CERTDB_CONTRACTID));
-    if (!certdb) {
-      return -1;
-    }
-  } // this scopes the nsCOMPtrs
-  // no nsCOMPtrs are allowed to be alive when you call NS_ShutdownXPCOM
-  NS_ShutdownXPCOM(nullptr);
-  return 0;
-}
deleted file mode 100644
--- a/security/manager/ssl/tests/compiled/moz.build
+++ /dev/null
@@ -1,9 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-CPP_UNIT_TESTS += [
-  'TestCertDB.cpp',
-]
--- a/security/manager/ssl/tests/moz.build
+++ b/security/manager/ssl/tests/moz.build
@@ -6,13 +6,9 @@
 
 DIRS += ['unit']
 
 TEST_DIRS += [
 	'gtest',
 	'mochitest',
 ]
 
-TEST_TOOL_DIRS += [
-  'compiled',
-]
-
 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']