jeroendoggen/Arduino-TestSuite — pull request #10 by mmurdoch (2013-02-03 20:17:46+00:00)
Title: Add Windows support

Set the default serial port for Windows to COM3.
Pass scons.bat (rather than scons) to subprocess.Popen on Windows.
Run scons.bat from the directory in which it resides (by passing
subprocess.Popen: cwd=/Scripts).
Kill child processes portably use Popen.terminate() rather than
os.kill().
Prevent 'Access Denied' errors on Windows due to the parent
process holding open the serial port whilst a child process
(scons/avrdude) tries to open it. This is fixed by opening the
serial port after the test is uploaded, retrieving the test results
and closing the serial port again prior to the next upload.

This fixes #5.