Commit graph

2156 commits

Author SHA1 Message Date
Daniel Plaisted
9793bdd474 Set test execution directory for SDK tests 2019-08-30 08:53:22 -07:00
Daniel Plaisted
5729e5151f Continue build if there are test errors 2019-08-30 08:53:21 -07:00
Daniel Plaisted
891f8c8e08 Unset environment variables for running SDK tests 2019-08-30 08:53:21 -07:00
Daniel Plaisted
dd1d245df8 Don't parse dotnet-install output for errors 2019-08-30 08:53:21 -07:00
Daniel Plaisted
4f03b3ac92 Various fixes when calling dotnet-install 2019-08-30 08:53:21 -07:00
Daniel Plaisted
b1b0b43d4f Simplify global properties passed to run SDK tests 2019-08-23 15:52:59 -07:00
Daniel Plaisted
ee7bc290b7 Install previous runtimes for SDK tests 2019-08-23 15:52:59 -07:00
Daniel Plaisted
5552b276d8 Unset DOTNET environment variables for tests 2019-08-23 15:52:59 -07:00
Daniel Plaisted
eaa53417bd Isolate SDK tests from repo Directory.Build files 2019-08-23 15:52:59 -07:00
Daniel Plaisted
970fd933df Run tests from dotnet/sdk 2019-08-23 15:52:59 -07:00
Livar Cunha
670d13b444 Skipping a failing test. Already reached out to the templating team to investigate. 2019-07-01 22:36:33 -07:00
Daniel Plaisted
f8126a6b02 Re-enable .NET Core 2.2 tests
Fixes #780
2019-06-18 16:26:57 -07:00
Daniel Plaisted
2173783302 Delete duplicated tests
Fixes #21

These scenarios should be covered by GivenSelfContainedAppsRollForward, it looks like the fact
they were here may have been a bad merge.
2019-06-18 16:26:32 -07:00
Peter Huene
33815f75c9
Remove Windows Desktop project templates for non-Windows.
This commit removes the Windows Desktop project templates for non-Windows
builds of the .NET Core SDK.

Fixes dotnet/cli#11425.
2019-05-29 19:06:11 -07:00
Nick Guerrera
611efa4b97
Re-enable mvc test (#2067) 2019-05-20 12:40:08 -07:00
Daniel Plaisted
1b0972cccd Disable test for mvc template build due to aspnet/AspNetCore#10218 2019-05-16 18:08:10 -07:00
John Beisner
ca9216c97d
[WIP] Removal of additional package feeds set by default (#1561)
Removal of additional package feeds set by default
2019-04-23 10:33:16 -07:00
dotnet-maestro[bot]
e5f45a8c85
[master] Update dependencies from dotnet/toolset (#1161)
* Update dependencies from https://github.com/dotnet/toolset build 20190329.11

- Microsoft.Dotnet.Toolset.Internal - 3.0.100-preview4.19179.11

* Deleting the CliToolReferenceTests. They are not needed on this repo and they do not rely on any insertion from dependencies and are completely dependent on the CLI only. The only reason why they were here is because we took the whole E2E test project from the CLI and ported to sdk and toolset.

* Cap project tools assets tfm netcoreapp2.2 to react to change in SDK
2019-03-31 01:02:28 +00:00
Livar Cunha
7dffd726de Disableing 2.2 implicit framework tests because the packages haven't been published yet. 2019-03-01 10:55:27 -08:00
Daniel Plaisted
d1d8a04899 Disable roll-forward version tests for 3.0
See #621
2019-02-20 16:36:41 -08:00
Daniel Plaisted
424024ad0c Update .NET Core version, and add test to catch when ASP.NET depends on a later version than we have
Fixes https://github.com/dotnet/cli/issues/10553
2019-01-07 13:55:18 -08:00
Livar Cunha
3ccbd61dc0 Fixing a build failure due to the merge from master. 2018-12-26 09:57:33 -08:00
Livar Cunha
3ce8eaefaa Merge branch 'master' into official_builds
* master:
  Adding a Wpf and Winforms templates registry key (#218)
  Update coresetup to preview-27218-01 (#216)
  Update WindowsDesktop Framework (#215)
  Update coresetup to preview-27217-02 (#214)
  Update coresetup to preview-27217-01
  Update coresetup to preview-27216-02 (#211)
  make GivenDotnetUsesDotnetTools test optional based on AspNetCore availability (#207)
  Update DependencyVersions.props
  Include the WindowsDesktop sharedframework in install 'Finish' page. (#208)
  Update readme; core-sdk:master (#209)
  Update WindowsDesktop
  Update toolset
  Update coresetup to preview-27214-02
  change debug to Debug to match managed part
  add entry for freebsd to badge processing
  update stage0 sdk to 3.0 preview
  Update coresetup to preview-27206-02 (#202)
  initial support for freebsd
2018-12-25 19:08:40 -08:00
Tomas Weinfurt
e1e6c25c1b make GivenDotnetUsesDotnetTools test optional based on AspNetCore availability (#207) 2018-12-14 20:08:38 -08:00
Daniel Plaisted
f974e2bbac Merge upstream changes 2018-12-05 18:08:40 -08:00
Livar Cunha
829bc78ccf Updating the CLi.Utils version that we use in core-sdk to one with a new muxer class that has the proper AppContext handling. 2018-12-05 15:48:17 -08:00
Daniel Plaisted
3df2eb5c8e Fix using wrong SDK when restoring
DotnetCommand should be used so that MSBuildSDKsPath gets unset
2018-11-29 23:43:09 -08:00
Daniel Plaisted
7d461295be Check bitness of dotnet under test instead of test host process 2018-11-29 23:38:49 -08:00
Daniel Plaisted
d4db5e64b5 Merge upstream changes 2018-11-29 17:27:58 -08:00
Daniel Plaisted
a8c664ba67 Enable targeting .NET Core 2.2 2018-11-26 18:58:37 -08:00
Daniel Plaisted
d8b5dbb44b Apply code review feedback 2018-11-21 18:43:34 -08:00
Daniel Plaisted
32627d01d2 Only test winforms/wpf templates on Windows 2018-11-20 19:43:45 -08:00
Daniel Plaisted
7d3fd28fc4 Remove commented out code 2018-11-20 18:56:01 -08:00
Daniel Plaisted
22dacc82d8 Enable web and mvc template tests 2018-11-20 18:55:46 -08:00
Daniel Plaisted
b757854508 Delete "Dependency Tool Invoker" test
This is a scenario that is no longer valid, using the Microsoft.DotNet.Cli.Utils library in a project tool to invoke another project tool.
It was breaking because the dependency-tool-invoker was using a different version of MSBuild than the CLI, which caused problems
when the ToolsVersion changed from 15.0 to Current.
2018-11-20 18:39:10 -08:00
Daniel Plaisted
6fd4a5afad Refactor tests, add coverage for building templates 2018-11-20 10:53:39 -08:00
Daniel Plaisted
7b76c6dd89 Generate version file 2018-11-20 10:46:41 -08:00
Daniel Plaisted
b395776e87 Enable / fix tests 2018-11-12 15:24:05 -08:00
Daniel Plaisted
b7e4f06bed Use built version of redist instead of stage 0 for running tests 2018-11-12 11:31:10 -08:00
Daniel Plaisted
e13e5fca99 Merge upstream changes 2018-11-09 15:22:10 -08:00
Daniel Plaisted
cc5a67d2e5 Refactor / fix implicit version tests 2018-11-08 12:11:30 -08:00
Daniel Plaisted
ce468ec79e Move layout folder 2018-10-29 12:26:31 -07:00
Daniel Plaisted
96c79f9661 Enable tests 2018-10-29 11:26:53 -07:00
Daniel Plaisted
914f465b30 Get tests and skeleton build tasks building 2018-10-22 19:59:58 -07:00
Daniel Plaisted
acc97038e8 Apply workaround for https://github.com/dotnet/cli/issues/10196 2018-10-19 08:44:39 -07:00
Daniel Plaisted
69d4d21ee5 Disable implicit version tests (#10123), fix 3.0 implicit version 2018-10-08 18:59:44 -07:00
Daniel Plaisted
bfcc6fa2a0 Merge CLI 2.2.1xx changes 2018-10-08 18:59:34 -07:00
Livar Cunha
56d2ba9810 Adding netcoreapp3.0 templates for console apps. 2018-10-02 11:21:50 -07:00
Daniel Plaisted
328a3fd9be Add and enable tests for roll-forward behavior 2018-09-26 18:54:17 -07:00
Andy Zivkovic
2b84ebe054
Code review feedback changes.
This commit implements the requested changes from the PR code review.

- Remove unnecessary comments
- Use Directory.Exists rather than getting file attributes
- Use GracefulException where appripriate
- Improve test names and fix spacing
- Don't force trailing slash on directory
- Don't use option forwarding
- Delete unnecessary MSBuild.exe[.config] files from test project
- Use forwarded options
2018-09-20 10:26:02 -07:00