Fix cpp-test compile error and  a bug of Confined
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_test
Fix the error that SpritePerformanceTest  lua does’t work
Merge pull request #9302 from samuele3hu/v3_test

Fix some errors about cpp-tests and lua-tests