Commit graph

1684 commits

Author SHA1 Message Date
Pavel Krymets
62284943fc Add support for reading DepedencyContext from deps file 2016-02-23 18:16:40 -08:00
Livar Cunha
252eb4371f Making the version check an optional message for test discovery and test run. 2016-02-23 18:13:00 -08:00
Sridhar Periyasamy
834edfbc9c Add support for building Windows x86 version of dotnet CLI
- Changes to build scripts to produce Winx86 build artifacts like
  zip/installer.
- Change to run Nuget-xplat in the same process as dotnet.exe instead of
  spinning up a new 'corerun' process.
2016-02-23 18:04:49 -08:00
Livar
7407a898e0 Merge pull request #1516 from livarcocc/debug_tests
Modifying dotnet test to handle the new design for debug and making it unit testable
2016-02-23 17:33:36 -08:00
Eric Erhardt
2685d282b8 Enable installer tests in our CI. 2016-02-23 17:57:22 -06:00
David Fowler
211f0e7af3 Merge pull request #1533 from dotnet/davidfowl/newer-nuget
Updated NuGet package reference
2016-02-23 13:41:49 -08:00
Bryan
b2fab6df02 Update Reporter in build. 2016-02-23 12:10:50 -08:00
Bryan
619eaa0c55 Use System.Console on Unix 2016-02-23 11:45:57 -08:00
Zlatko Knezevic
5ea34f66ec Fixing the name of the OS X package
There was a bug in naming the versioned PKG for OSX when it is being packaged. This resulted
in two different names for the latest and versioned, which is not what we want.

Fix #1537
2016-02-23 11:31:10 -08:00
Livar Cunha
7630337074 Adding unit tests for the state machine of dotnet test. Starting the implementation of a state machine in dotnet test. Right now we only handle the TestSession:Terminate message.
Adding a message handler for the version check message. Also introduced an IDotnetTest that handles state and handlers (the state machine).

Adding the test discover start message handler and introducing a test runner.

Added the handler for the GetTestRunnerProcessInfo message. Also, modified dotnet test to have separate setter for the special message handlers for terminate and unknown messages and added a separate method to add new reporting channels to DotnetTest, so that it can handle the new listener for the test runner.

Added the test runner test discovery handlers.

Added handlers to deal with the test execution itself.

Updated dotnet-test program to use the message handlers during design time.

Added a test for the whole discover tests message flow.

Added a test for the run tests full message exchange.
2016-02-23 11:20:04 -08:00
Zlatko Knezevic
ca685b6e27 Fixing a small RC1 omission in the README.md 2016-02-23 11:11:49 -08:00
David Fowler
a049eee253 Updated NuGet pacakge reference 2016-02-23 10:32:15 -08:00
Sridhar Periyasamy
2aedd677c6 Merge pull request #1522 from Sridhar-MS/wix-upgrade
Upgrade Wix to stable version 3.10.2.
2016-02-23 10:04:48 -08:00
Zlatko Knezevic
288a2a4dd5 Responding to PR feedback 2016-02-23 09:54:03 -08:00
Pavel Krymets
f45f08c4da Merge pull request #1468 from dotnet/pakrym/assets
Asset refactoring and content files
2016-02-23 09:18:47 -08:00
discostu105
5ad60df96a don't compile desktop framework targets on non-windows 2016-02-23 18:03:04 +01:00
Pavel Krymets
a71112ce8f Asset refactoring and content files 2016-02-23 08:34:38 -08:00
discostu105
ceb31d8f30 styling 2016-02-23 17:28:50 +01:00
discostu105
ccb3d06f23 changed method name as suggested by david 2016-02-23 17:10:00 +01:00
discostu105
d0d3a629a5 added unit test. made if condition easier to understand. 2016-02-23 15:53:51 +01:00
David Fowler
388bb7260c Merge pull request #1529 from dotnet/davidfowl/dont-mutate-targets
Fix asset copy on publish when lock file instance is shared
2016-02-23 03:06:25 -08:00
David Fowler
dec4a0627f Fix asset copy on publish when lock file instance is shared
- Don't mutate the library target when making a package description.

#1528
2016-02-23 02:34:56 -08:00
Pavel Krymets
f49fdd9197 Merge pull request #1501 from dotnet/pakrym/run-single-target
Fix run behaviour when only single target exists
2016-02-22 20:34:23 -08:00
Livar
06d31435cb Merge pull request #1523 from livarcocc/debug_tests_abstractions
Adding a TestRunner.TestCompleted message to the test sinks.
2016-02-22 19:45:03 -08:00
Pavel Krymets
fcc384b175 Merge pull request #1500 from dotnet/pakrym/no-runtime-error
Add error message when runtime target is not found
2016-02-22 16:13:11 -08:00
Sridhar Periyasamy
e9d2a37427 Download Wix tools v3.10.2
Security vulnerability with earlier Wix versions -
https://www.firegiant.com/blog/2016/1/20/wix-v3.10.2-released/
2016-02-22 15:24:34 -08:00
Pavel Krymets
6ca22e4a56 Fix run behaviour when only single target exists 2016-02-22 15:11:24 -08:00
Zlatko Knezevic
8551c72f82 Fixing the README.md and adding issues filing guide
The README.md contained some errors, corrected those. Removed the
native compilation bits for now.
Added an issue filing guide to make the issue process slightly better so we can
triage better.
2016-02-22 14:29:03 -08:00
Livar Cunha
33ba99bb51 Adding a TestRunner.TestCompleted message that the runner can send to dotnet test. 2016-02-22 13:40:45 -08:00
Sridhar Periyasamy
8179958342 Upgrade Wix to stable version 3.10.1.
Get rid of dummy project and instead download Wix tools directly.
2016-02-22 11:57:43 -08:00
Eric Erhardt
962411969e Merge pull request #1499 from eerhardt/WinDockerInstall
Running Windows installer tests on Docker.
2016-02-22 09:30:21 -06:00
discostu105
f0c8428925 cleanup of AssemblyInfoOptions 2016-02-22 11:25:02 +01:00
discostu105
8dc1e94aa9 cleanup in AssemblyInfoOptions 2016-02-22 11:22:26 +01:00
discostu105
1dedbcf3e6 Merge branch 'rel/1.0.0' of https://github.com/discostu105/cli into rel/1.0.0
# Conflicts:
#	src/Microsoft.DotNet.Compiler.Common/AssemblyInfoFileGenerator.cs
2016-02-22 10:55:00 +01:00
discostu105
e08401aed6 handle case where TargetFramework is null 2016-02-22 10:53:01 +01:00
discostu105
5e574f46d8 using NuGetFramework.Parse instead of passing Version object 2016-02-22 09:57:55 +01:00
discostu105
a31d4a7920 fixed newlines 2016-02-21 23:38:13 +01:00
discostu105
ac3e14c89e Added TargetFrameworkVersion to AssemblyInfoOptions in order to let AssemblyInfoFileGenerator if attributes are compatible with framework version. E.g. TargetFrameworkAttribute is not .NET 2.0 compatible. fixes #1480 2016-02-21 23:01:55 +01:00
David Fowler
c7a9d1d63a Merge pull request #1511 from jpvantuyl/patch-1
fix up whitespace
2016-02-21 00:11:53 -08:00
Pavel Krymets
69c0375b3f Add error message when runtime target is not found 2016-02-20 18:20:16 -08:00
John Van Tuyl
9153b24e15 fix up whitespace 2016-02-20 13:53:36 -08:00
David Fowler
39b0880dbe Handle null commit sha
- Apparently the .version file doesn't always end up in the package
#1498
2016-02-19 20:01:14 -08:00
Bryan Thornbury
be8cde81b2 Merge pull request #1484 from dotnet/brthor/debian-e2e
Enable EndToEnd tests against the debian package
2016-02-19 14:58:37 -08:00
Eric Erhardt
d9adc9214a Running Windows installer tests on Docker.
Cleaning up the Installer tests
- rename project to conform to the rest of the tests
- convert to .xproj
- clean up unused usings
2016-02-19 16:45:37 -06:00
Sridhar Periyasamy
856a077bd1 Merge pull request #1487 from Sridhar-MS/cli-x86
Fixes in corehost for building x86 arch.
2016-02-19 12:06:50 -08:00
Sridhar Periyasamy
c8215f84d3 Use macros for __stdcall calling convention. 2016-02-19 11:30:03 -08:00
Piotr Puszkiewicz
e88927486a Merge pull request #1478 from dotnet/piotrpMSFT/--DOTNET_HOME
Removes usage of DOTNET_HOME in CLI repo.
2016-02-18 22:43:28 -08:00
Sridhar Periyasamy
f96ac6ed92 Fixes in corehost for building x86 arch.
Set the calling convention to '__stdcall' explicitly else the default is
'_cdecl' on windows which mismatches with coreclr hosting APIs.
Use the newly built 'corehost' in stage1.
2016-02-18 18:03:26 -08:00
Bryan Thornbury
5b211726d8 Enable EndToEnd tests in the debian package
do a build and drop xml files
2016-02-18 16:57:24 -08:00
Piotr Puszkiewicz
7a9a501def PR feedback 2016-02-18 15:38:23 -08:00