tests/frontend/run: Make waiting for the server less noisy

(imported from commit c62bc23081e76e18de2aeddf45a2e7043deabc2b)
This commit is contained in:
Keegan McAllister 2012-11-16 10:56:15 -05:00
parent 08a43f2f5c
commit 3494a3ae2a
1 changed files with 4 additions and 1 deletions

View File

@ -33,9 +33,12 @@ ret = 1
try:
# Wait for the server to start up.
sys.stdout.write('Waiting for test server')
while not server_is_up():
print 'Waiting for test server'
sys.stdout.write('.')
sys.stdout.flush()
time.sleep(0.1)
sys.stdout.write('\n')
ret = subprocess.call(
'zephyr/tests/frontend/casperjs/bin/casperjs zephyr/tests/frontend/tests.js',