perfect build test script

Signed-off-by: eggfly <lihaohua90@gmail.com>