fune/testing/cppunittest.ini
Ray Kraesig 82b6f1bd95 Bug 1758654 - avoid stack overflow by running on a fiber r=gsvelto
Implement a strategy suggested by Raymond Chen [0] for avoiding stack
overflow in library code: move the relevant work onto a temporary fiber
with a potentially arbitrary stack size.

Additionally, implement a cppunittest to test the fiber code.

[0] https://devblogs.microsoft.com/oldnewthing/20200601-00/?p=103815
    _The Old New Thing_, "How can I expand my thread’s stack at runtime?"
    (and several followup posts).

Differential Revision: https://phabricator.services.mozilla.com/D141521
2022-04-01 21:20:51 +00:00

98 lines
1.8 KiB
INI

[ShowSSEConfig]
[TestPrintf]
[TestAlgorithm]
[TestArray]
[TestArrayUtils]
[TestAtomicBitfields]
[TestAtomics]
[TestBinarySearch]
[TestBitSet]
[TestBloomFilter]
[TestBufferList]
[TestCasting]
[TestCeilingFloor]
[TestCheckedInt]
[TestCompactPair]
[TestCountPopulation]
[TestCountZeroes]
[TestCrossProcessWin]
skip-if = os != 'win'
[TestDefineEnum]
[TestDoublyLinkedList]
[TestDllInterceptor]
skip-if = os != 'win'
[TestEndian]
[TestEnumeratedArray]
[TestEnumSet]
[TestEnumTypeTraits]
[TestFastBernoulliTrial]
[TestFloatingPoint]
[TestFunctionRef]
[TestFunctionTypeTraits]
[TestHashTable]
[TestIATPatcher]
skip-if =
os != 'win'
bits == 32 # fails on windows10x32
[TestIntegerPrintfMacros]
[TestIntegerRange]
[TestJSONWriter]
[TestLauncherRegistryInfo]
skip-if = os != 'win'
[TestLinkedList]
[TestMacroArgs]
[TestMacroForEach]
[TestMathAlgorithms]
[TestMaybe]
[TestMemoryPressureWatcherLinux]
skip-if = os != 'linux'
[TestMMPolicy]
skip-if = os != 'win'
[TestNativeNt]
skip-if = os != 'win'
[TestUriValidation]
skip-if = os != 'win'
[TestSameBinary]
skip-if = os != 'win'
[TestTimeStampWin]
skip-if = os != 'win'
[TestSafeThreadLocal]
skip-if = os != 'win'
[TestBaseProfiler]
[TestNonDereferenceable]
[TestNotNull]
[TestPEExportSection]
skip-if = os != 'win'
[TestPoisonArea]
skip-if =
asan
os == 'android' # Bug 1147630
[TestRange]
[TestRandomNum]
[TestRefPtr]
[TestResult]
[TestRollingMean]
[TestRunOnTemporaryStack]
skip-if =
!crashreporter # this test is not built unless the crashreporter is
os != 'win'
[TestScopeExit]
[TestSegmentedVector]
[TestSHA1]
[TestSmallPointerArray]
[TestSaturate]
[TestSplayTree]
[TestSPSCQueue]
[TestTemplateLib]
[TestTextUtils]
[TestThreadSafeWeakPtr]
[TestTuple]
[TestTypeTraits]
[TestTypedEnum]
[TestUniquePtr]
[TestUtf8]
[TestVariant]
[TestVector]
[TestWeakPtr]
[TestWrappingOperations]
[TestXorShift128PlusRNG]