Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-10-27 09:21:10 +0400
committerAlan McGovern <alan@xamarin.com>2013-10-27 09:21:52 +0400
commit05e006597ceb366b9d84c95b88647dc275ddd32e (patch)
treedd96e1b3664f8117d98d333350e656eeaa63d120 /src
parent55f1f48ab46fe8728beb0bb58118689d26a6452c (diff)
Expand to full path on load, not after the tests run
Otherwise the test results file could end up anywhere. It's perfectly valid for unit tests to change the working dir.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/framework/Runner/CommandLineOptions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/Runner/CommandLineOptions.cs b/src/framework/Runner/CommandLineOptions.cs
index dd47de3..9e60c03 100755
--- a/src/framework/Runner/CommandLineOptions.cs
+++ b/src/framework/Runner/CommandLineOptions.cs
@@ -291,7 +291,7 @@ namespace NUnitLite.Runner
break;
case "xml":
case "result":
- resultFile = val;
+ resultFile = ExpandToFullPath (val);
break;
case "format":
resultFormat = val;