Bug 1498767 - Add missing MFBT tests to testing/cppunittest.py. r=froydnj
authorBotond Ballo <botond@mozilla.com>
Sat, 13 Oct 2018 21:54:27 +0000
changeset 489501 b8d90d5901bec950a7fe1a1763b17c3d401e59b8
parent 489500 7f30799c0c324bbafe48e9ee63a9a8cc50215037
child 489502 8dd9cadacda0c3a0a1726af119c9e9359c1ce5ad
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersfroydnj
bugs1498767
milestone64.0a1
Bug 1498767 - Add missing MFBT tests to testing/cppunittest.py. r=froydnj Also add a comment to mfbt/tests/moz.build to remind people that tests need to be added to testing/cppunittest.py. Differential Revision: https://phabricator.services.mozilla.com/D8664
mfbt/tests/moz.build
testing/cppunittest.ini
--- a/mfbt/tests/moz.build
+++ b/mfbt/tests/moz.build
@@ -4,16 +4,18 @@
 # 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/.
 
 if CONFIG['MOZ_WIDGET_TOOLKIT']:
     TEST_DIRS += [
         'gtest',
     ]
 
+# Important: for these tests to be run, they also need to be added
+# to testing/cppunittest.ini.
 CppUnitTests([
     'TestAlgorithm',
     'TestArray',
     'TestArrayUtils',
     'TestAtomics',
     'TestBinarySearch',
     'TestBloomFilter',
     'TestBufferList',
--- a/testing/cppunittest.ini
+++ b/testing/cppunittest.ini
@@ -1,62 +1,74 @@
 [ShowSSEConfig]
 [TestPrintf]
 [TestAppShellSteadyState]
+[TestAlgorithm]
 [TestArray]
 [TestArrayUtils]
 [TestAtomics]
 [TestBinarySearch]
 [TestBloomFilter]
+[TestBufferList]
 [TestCasting]
 [TestCeilingFloor]
 [TestCheckedInt]
 [TestCountPopulation]
 [TestCountZeroes]
 [TestDefineEnum]
+[TestDoublyLinkedList]
 [TestDllInterceptor]
 skip-if = os != 'win'
 [TestEndian]
 [TestEnumeratedArray]
 [TestEnumSet]
 [TestEnumTypeTraits]
 [TestFastBernoulliTrial]
 [TestFloatingPoint]
+[TestFunctionTypeTraits]
 [TestIntegerPrintfMacros]
 [TestIntegerRange]
 [TestJSONWriter]
 [TestLinkedList]
 [TestMacroArgs]
 [TestMacroForEach]
 [TestMathAlgorithms]
 [TestMaybe]
+[TestNonDereferenceable]
+[TestNotNull]
 [TestParseFTPList]
 [TestPLDHash]
 [TestPair]
 [TestPoisonArea]
 skip-if = os == 'android' # Bug 1147630
+[TestRange]
 [TestRefPtr]
+[TestResult]
 [TestRollingMean]
 [TestScopeExit]
 [TestSegmentedVector]
 [TestSHA1]
 [TestSmallPointerArray]
 [TestSaturate]
 [TestSplayTree]
 [TestSPSCQueue]
 [TestSyncRunnable]
 [TestTemplateLib]
+[TestTextUtils]
+[TestThreadSafeWeakPtr]
 [TestTuple]
 [TestTypeTraits]
 [TestTypedEnum]
 [TestUniquePtr]
+[TestUtf8]
 [TestVariant]
 [TestVector]
 [TestVolatileBuffer]
 [TestWeakPtr]
+[TestWrappingOperations]
 [TestXorShift128PlusRNG]
 [buffered_stun_socket_unittest]
 [ice_unittest]
 [test_nr_socket_unittest]
 [jsapi-tests]
 [multi_tcp_socket_unittest]
 [nrappkit_unittest]
 [rlogringbuffer_unittest]