[ios] make unit tests work on iOS and iOS Simulator

This commit is contained in:
Konstantin Käfer
2016-02-18 13:26:44 +01:00
committed by John Firebaugh
parent db5ac4785f
commit c587eefbb1
26 changed files with 217 additions and 40 deletions

View File

@@ -60,7 +60,12 @@ TEST_F(Storage, AssetStress) {
AssetFileSource fs(getFileSourceRoot());
// iOS seems to run out of file descriptors...
#if TARGET_OS_IPHONE
unsigned numThreads = 30;
#else
unsigned numThreads = 50;
#endif
auto callback = [&] {
if (!--numThreads) {