~the-test-people/selenium-simple-test/windows-fixes

Viewing all changes in revision 441.

  • Committer: Peter Russell
  • Date: 2014-01-15 11:09:07 UTC
  • Revision ID: peter.russell@thetestpeople.com-20140115110907-cbhv9w0tmmj8hm36
Add a CI script for Windows, and fix running of Django for windows.

* Adds a powershell script, ci.ps1, which is similar to ci.sh.
* Make run_django in test.py use Python to run the management script, as
  on Windows scripts arent executable.
* Make run_django in test.py pass --noreload to avoid runaway subprocesses.
* Change the way the test harness stops the django process, it now uses
  os._exit() rather than sending a signal to the process - this is more
  portable.  Sys.exit() apparently doesn't work in a multithreaded
  environment (os._exit() is the mechanism runserver uses itself).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: