modify autotest.py in tools/jenkins-scripts

Modify autotest.py in tools/jenkins-scripts.