Made some tweaks to k test

- Change to look in frameworks instead of configurations when
  running tests
- Assume net45 if nothing specified
This commit is contained in:
David Fowler 2014-07-13 22:24:47 -07:00
parent f18a1b3465
commit c27ba5f00f
1 changed files with 2 additions and 3 deletions

View File

@ -26,12 +26,11 @@ projectFile=''
var projectFolder = Path.GetDirectoryName(projectFile);
object configsObject;
var configs = project.TryGetValue("configurations", out configsObject)
var configs = project.TryGetValue("frameworks", out configsObject)
? (Dictionary<string, object>)configsObject
: new Dictionary<string, object>
{
{ "net45", new Dictionary<string, object>() },
{ "k10", new Dictionary<string, object>() }
{ "net45", new Dictionary<string, object>() } // Assume net45 only if none specified
};
// Currently only net* and k* targets are supported. See aspnet/Universe#53