Bug 1157323 - Part 1: Make TestTimers a unit-test.
MozReview-Commit-ID: HPdP3muvzU8
--- a/testing/cppunittest.ini
+++ b/testing/cppunittest.ini
@@ -78,16 +78,17 @@ skip-if = os == 'android' # Bug 1147630
[TestSplayTree]
[TestStartupCache]
skip-if = os == 'b2g' || os == 'android' # Bug 929655
support-files = TestStartupCacheTelemetry.js TestStartupCacheTelemetry.manifest
[TestStringAPI]
[TestSyncRunnable]
[TestTArray]
skip-if = os == 'b2g' || os == 'android' # Bug 1054251, 1171296
+[TestTimers]
[TestTXMgr]
skip-if = os == 'b2g' #Bug 919595
[TestTemplateLib]
[TestTextFormatter]
[TestThreadUtils]
[TestTuple]
[TestTypeTraits]
[TestTypedEnum]
--- a/xpcom/tests/moz.build
+++ b/xpcom/tests/moz.build
@@ -25,17 +25,16 @@ SimplePrograms([
'TestBlockingProcess',
'TestCallTemplates',
'TestINIParser',
'TestPRIntN',
'TestQuickReturn',
'TestRacingServiceManager',
'TestRegistrationOrder',
'TestThreadPoolListener',
- 'TestTimers',
'TestUnicodeArguments',
])
if CONFIG['OS_TARGET'] == 'WINNT':
GeckoSimplePrograms([
'TestBase64',
])
@@ -57,17 +56,18 @@ GeckoCppUnitTests([
'TestHashtables',
'TestID',
'TestNsRefPtr',
'TestObserverArray',
'TestObserverService',
'TestStringAPI',
'TestTArray',
'TestTextFormatter',
- 'TestThreadUtils'
+ 'TestThreadUtils',
+ 'TestTimers'
])
if CONFIG['MOZ_MEMORY']:
GeckoCppUnitTests([
'TestJemalloc',
])
# FIXME: bug 577500 TestStaticAtoms fails when run in dist/bin