Skip to content

Commit

Permalink
Merge branch 'lighthouse-1017-patch'
Browse files Browse the repository at this point in the history
Conflicts:
	framework/pym/play/commands/base.py
  • Loading branch information
yjaigu committed Aug 8, 2011
2 parents 6fed60e + d3987c6 commit 6fe29a6
Show file tree
Hide file tree
Showing 4 changed files with 2,357 additions and 2,337 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,6 +16,7 @@ framework/src/play/version
framework/tests/test-application/db framework/tests/test-application/db
framework/play-*.jar framework/play-*.jar
framework/docs framework/docs
samples-and-tests/*/test-result/


# IDE and editors # IDE and editors
*~ *~
Expand Down
6 changes: 5 additions & 1 deletion framework/pym/play/commands/base.py
Expand Up @@ -232,8 +232,12 @@ def autotest(app, args):
# Run FirePhoque # Run FirePhoque
print "~" print "~"


headless_browser = ''
if app.readConf('headlessBrowser'):
headless_browser = app.readConf('headlessBrowser')

cp_args = getFirephoqueClasspath(app) cp_args = getFirephoqueClasspath(app)
java_cmd = [app.java_path(), '-classpath', cp_args, '-Dapplication.url=%s://localhost:%s' % (protocol, http_port), 'play.modules.testrunner.FirePhoque'] java_cmd = [app.java_path(), '-classpath', cp_args, '-Dapplication.url=%s://localhost:%s' % (protocol, http_port), '-DheadlessBrowser=%s' % (headless_browser), 'play.modules.testrunner.FirePhoque']
try: try:
subprocess.call(java_cmd, env=os.environ) subprocess.call(java_cmd, env=os.environ)
except OSError: except OSError:
Expand Down

0 comments on commit 6fe29a6

Please sign in to comment.