glib/tests/spawn-singlethread: Improve test for Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 6 Nov 2013 07:14:06 +0000 (15:14 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 11 Nov 2013 14:38:36 +0000 (22:38 +0800)
commita7707ec60ba8155c345df58d414060e177f15804
treec1b40a911ea5d9018971181a996105b55410ee6c
parentb27a2d436bad5fcda5fea52bb84a39fd42e66041
glib/tests/spawn-singlethread: Improve test for Windows

Use a Windows-style .bat script for the test_spawn_script() test, at least
when the code is built with Visual C++ (due to differences in how scripts
are written for shells and Windows cmd.exe), and account for Windows-style
line endings for that test too.

Let the MinGW builds (which are normally done in an MSYS BASH-style shell) continue to use the
*NIX-style script for that test.

https://bugzilla.gnome.org/show_bug.cgi?id=711047
glib/tests/Makefile.am
glib/tests/echo-script.bat [new file with mode: 0644]
glib/tests/spawn-singlethread.c