mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 930350 - Fix --enable-ipdl-tests build. r=gps. DONTBUILD because NPOTB
This commit is contained in:
parent
ea2492b720
commit
91d475fc4c
@ -2,49 +2,15 @@
|
||||
# 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/.
|
||||
|
||||
IPDLTESTS = \
|
||||
TestActorPunning \
|
||||
TestBridgeMain \
|
||||
TestCrashCleanup \
|
||||
TestDataStructures \
|
||||
TestDesc \
|
||||
TestFailedCtor \
|
||||
TestHangs \
|
||||
TestJSON \
|
||||
TestLatency \
|
||||
TestManyChildAllocs \
|
||||
TestMultiMgrs \
|
||||
TestNestedLoops \
|
||||
TestOpens \
|
||||
TestInterruptErrorCleanup \
|
||||
TestInterruptRaces \
|
||||
TestInterruptShutdownRace \
|
||||
TestRPC \
|
||||
TestRaceDeferral \
|
||||
TestRacyReentry \
|
||||
TestRacyInterruptReplies \
|
||||
TestRacyUndefer \
|
||||
TestSanity \
|
||||
TestSelfManageRoot \
|
||||
TestShmem \
|
||||
TestShutdown \
|
||||
TestStackHooks \
|
||||
TestSyncError \
|
||||
TestSyncHang \
|
||||
TestSyncWakeup \
|
||||
TestBadActor \
|
||||
TestUrgency \
|
||||
$(NULL)
|
||||
IPDLTESTSRCS = $(filter Test%,$(CPPSRCS))
|
||||
IPDLTESTS = $(IPDLTESTSRCS:.cpp=)
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
IPDLTESTS += TestSysVShmem
|
||||
endif
|
||||
CPPSRCS += IPDLUnitTests.cpp
|
||||
|
||||
EXTRA_PROTOCOLS = \
|
||||
TestBridgeSub \
|
||||
$(NULL)
|
||||
|
||||
IPDLTESTSRCS = $(addsuffix .cpp,$(IPDLTESTS))
|
||||
IPDLTESTHDRS = $(addprefix $(srcdir)/,$(addsuffix .h,$(IPDLTESTS)))
|
||||
|
||||
TESTER_TEMPLATE := $(srcdir)/IPDLUnitTests.template.cpp
|
||||
|
@ -1,3 +1,4 @@
|
||||
include protocol PTestBridgeMainSub;
|
||||
include protocol PTestBridgeSub;
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -17,9 +17,46 @@ EXPORTS.mozilla._ipdltest += [
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'$(IPDLTESTSRCS)',
|
||||
'TestActorPunning.cpp',
|
||||
'TestBadActor.cpp',
|
||||
'TestBridgeMain.cpp',
|
||||
'TestCrashCleanup.cpp',
|
||||
'TestDataStructures.cpp',
|
||||
'TestDesc.cpp',
|
||||
'TestFailedCtor.cpp',
|
||||
'TestHangs.cpp',
|
||||
'TestInterruptErrorCleanup.cpp',
|
||||
'TestInterruptRaces.cpp',
|
||||
'TestInterruptShutdownRace.cpp',
|
||||
'TestJSON.cpp',
|
||||
'TestLatency.cpp',
|
||||
'TestManyChildAllocs.cpp',
|
||||
'TestMultiMgrs.cpp',
|
||||
'TestNestedLoops.cpp',
|
||||
'TestOpens.cpp',
|
||||
'TestRaceDeferral.cpp',
|
||||
'TestRacyInterruptReplies.cpp',
|
||||
'TestRacyReentry.cpp',
|
||||
'TestRacyUndefer.cpp',
|
||||
'TestRPC.cpp',
|
||||
'TestSanity.cpp',
|
||||
'TestSelfManageRoot.cpp',
|
||||
'TestShmem.cpp',
|
||||
'TestShutdown.cpp',
|
||||
'TestStackHooks.cpp',
|
||||
'TestSyncError.cpp',
|
||||
'TestSyncHang.cpp',
|
||||
'TestSyncWakeup.cpp',
|
||||
'TestUrgency.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'Linux':
|
||||
SOURCES += [
|
||||
'TestSysVShmem.cpp',
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'IPDLUnitTestProcessChild.cpp',
|
||||
'IPDLUnitTests.cpp',
|
||||
'IPDLUnitTestSubprocess.cpp',
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user