diff options
author | Alan McGovern <alan@xamarin.com> | 2013-10-27 09:21:10 +0400 |
---|---|---|
committer | Alan McGovern <alan@xamarin.com> | 2013-10-27 09:21:52 +0400 |
commit | 05e006597ceb366b9d84c95b88647dc275ddd32e (patch) | |
tree | dd96e1b3664f8117d98d333350e656eeaa63d120 /src | |
parent | 55f1f48ab46fe8728beb0bb58118689d26a6452c (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-x | src/framework/Runner/CommandLineOptions.cs | 2 |
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; |