mirror of https://github.com/axmolengine/axmol.git
Disable libcurl tests for Emscripten.
This commit is contained in:
parent
dd9e82c068
commit
905725184d
|
@ -87,7 +87,7 @@ static TestScene* CreateTestScene(int nIdx)
|
|||
case TEST_ZWOPTEX:
|
||||
pScene = new ZwoptexTestScene(); break;
|
||||
// bada don't support libcurl
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA && CC_TARGET_PLATFORM != CC_PLATFORM_NACL && CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA && CC_TARGET_PLATFORM != CC_PLATFORM_NACL && CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE && CC_TARGET_PLATFORM != CC_PLATFORM_EMSCRIPTEN)
|
||||
case TEST_CURL:
|
||||
pScene = new CurlTestScene(); break;
|
||||
#endif
|
||||
|
|
|
@ -32,12 +32,14 @@
|
|||
#include "PerformanceTest/PerformanceTest.h"
|
||||
#include "ZwoptexTest/ZwoptexTest.h"
|
||||
#include "CocosDenshionTest/CocosDenshionTest.h"
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_EMSCRIPEN)
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
|
||||
// bada don't support libcurl
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA)
|
||||
#include "CurlTest/CurlTest.h"
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#include "UserDefaultTest/UserDefaultTest.h"
|
||||
#include "BugsTest/BugsTest.h"
|
||||
#include "Texture2dTest/Texture2dTest.h"
|
||||
|
@ -149,10 +151,12 @@ const std::string g_aTestNames[TESTS_COUNT] = {
|
|||
"CocosDenshionTest",
|
||||
"PerformanceTest",
|
||||
"ZwoptexTest",
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_EMSCRIPTEN)
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_MARMALADE)
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_BADA)
|
||||
"CurlTest",
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
"UserDefaultTest",
|
||||
"BugsTest",
|
||||
|
|
Loading…
Reference in New Issue