Use random port in test webserver

This commit is contained in:
Rob Wu 2015-11-10 19:08:52 +01:00
parent 1280b7b76b
commit ff8c334207
2 changed files with 16 additions and 2 deletions

View file

@ -60,7 +60,7 @@ function parseOptions() {
.example('$0 --b=firefox -t=issue5567 -t=issue5909',
'Run the reftest identified by issue5567 and issue5909 in Firefox.')
.describe('port', 'The port the HTTP server should listen on.')
.default('port', 8000)
.default('port', 0)
.describe('unitTest', 'Run the unit tests.')
.describe('fontTest', 'Run the font tests.')
.describe('noDownload', 'Skips test PDFs downloading.')