add one judgement in cocos-console-test.py.