[mono/monodevelop] 424ce280: [TestRunner] Fixed commandline running on Windows.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141dd1db90e-fe7f853f-544b-4afd-9464-0ddb830563f6-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/e8b4751b9b01...424ce28020c3
Commit: 424ce28020c3fd20e73ebfd2b060188433c284f5
Author: Therzok <[email protected]> (Therzok)
Date: 2013-10-21 21:45:55 GMT
URL: https://github.com/mono/monodevelop/commit/424ce28020c3fd20e73ebfd2b060188433c284f5
[TestRunner] Fixed commandline running on Windows.
Changed paths:
M main/tests/TestRunner/Runner.cs
Modified: main/tests/TestRunner/Runner.cs
===================================================================
@@ -38,7 +38,7 @@ public class Runer: IApplication
{
public int Run (string[] arguments)
{
- var args = new List<string> (arguments);
+ var args = new List<string> (arguments.Select (argument => Path.GetFullPath (argument)));
bool useGuiUnit = false;
foreach (var ar in args) {
if ((ar.EndsWith (".dll") || ar.EndsWith (".exe")) && File.Exists (ar)) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches