refact reskin test code
fix linux
Merge branch 'newcode' into fixsprite
Merge pull request #9168 from super626/fixsprite

refact reskin test code