mirror of https://github.com/axmolengine/axmol.git
skip some test on android (#17648)
This commit is contained in:
parent
9c77f09c49
commit
2ee3274029
|
@ -137,6 +137,9 @@ void TestSearchPath::onEnter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: should fix the issue on Android
|
||||||
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_ANDROID)
|
||||||
|
|
||||||
// Save old resource root path
|
// Save old resource root path
|
||||||
std::string oldDefaultRootPath = sharedFileUtils->getDefaultResourceRootPath();
|
std::string oldDefaultRootPath = sharedFileUtils->getDefaultResourceRootPath();
|
||||||
sharedFileUtils->setDefaultResourceRootPath(oldDefaultRootPath + "extensions");
|
sharedFileUtils->setDefaultResourceRootPath(oldDefaultRootPath + "extensions");
|
||||||
|
@ -155,6 +158,7 @@ void TestSearchPath::onEnter()
|
||||||
|
|
||||||
// Recover old search paths
|
// Recover old search paths
|
||||||
sharedFileUtils->setSearchPaths(oldSearchPaths);
|
sharedFileUtils->setSearchPaths(oldSearchPaths);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestSearchPath::onExit()
|
void TestSearchPath::onExit()
|
||||||
|
|
Loading…
Reference in New Issue