Livar Cunha
4108920510
Updating tests to use the latest version of dotnet-test-xunit, which supports debugging from VS. Also updating our xproj files so that we can build the CLI from VS using the CLI.
2016-03-01 16:28:10 -08:00
Livar
208a0f31ec
Merge pull request #1609 from livarcocc/dotnet_test_xunit_command
...
Dotnet test creating the command using dotnet-test-xunit
2016-02-27 15:03:14 -08:00
Dennis Fischer
61281b4580
Add a auto-generated header to the assembly info file that is created on build
2016-02-27 15:05:45 +01:00
Livar Cunha
5b5d2cd31a
Adding a new factory that creates the command as is, without adding the dotnet to it. We need it so that the runner can pass dotnet-test-xunit and get back the final corehost command, which is the right one for VS to use and attach to.
2016-02-26 14:34:23 -08:00
Livar
14e8b184bd
Merge pull request #1597 from livarcocc/debug_tests_fixes
...
Test Runner test started needs to handle messages when dotnet test is in TestStarted state
2016-02-26 10:49:36 -08:00
Pavel Krymets
9d09d8aeac
Merge pull request #1594 from dotnet/pakrym/dth-ref
...
Fix design time host regression that caused project references being additionaly referenced as metadata
2016-02-25 19:50:08 -08:00
Senthil
f165aa5e68
Add cpp compiler flags
2016-02-25 18:12:00 -08:00
Livar Cunha
46b1fb42c0
Test Runner test started needs to handle messages when dotnet test is in a TestStarted state, as we will receive multiple test started messages. Also, to prevent a crash, when we get a message that terminates the adapter or the runner, we need to stop listening. Unfortunately, this needs to be directly where we read the messages, because if we give a handler a chance to handle that message, the reader will already be trying to read again.
2016-02-25 17:36:13 -08:00
Pavel Krymets
fa55e6fa2b
Fix DHT when referencing projects
2016-02-25 13:50:10 -08:00
Livar
b00a75e3ea
Merge pull request #1552 from livarcocc/make_version_check_optional
...
Making the version check an optional message for test discovery and test run.
2016-02-25 08:35:28 -08:00
David Fowler
c7fe191f0b
Remove top level compile command
2016-02-24 22:07:05 -08:00
Pavel Krymets
6013ee0981
Merge pull request #1565 from dotnet/pakrym/messages
...
Add better messages for run scenarios
2016-02-24 17:31:45 -08:00
Livar Cunha
3f2b1d068d
Making the reporing channel port discovery and accept incoming connections separate. Before we were hanging when creating the reporting channel and never starting the test runner.
2016-02-24 16:53:16 -08:00
Pavel Krymets
a074101b1d
Add better messages for run scenarios
2016-02-24 10:49:00 -08:00
Pavel Krymets
0037e0aba9
Fix dontet pack with buildbasepath
2016-02-23 19:13:50 -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
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
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
David Fowler
a049eee253
Updated NuGet pacakge reference
2016-02-23 10:32:15 -08:00
Pavel Krymets
a71112ce8f
Asset refactoring and content files
2016-02-23 08:34:38 -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
Pavel Krymets
6ca22e4a56
Fix run behaviour when only single target exists
2016-02-22 15:11:24 -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
Piotr Puszkiewicz
e625cbcf7a
Removes usage of DOTNET_HOME in CLI repo.
...
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
2016-02-18 15:38:23 -08:00
Bryan Thornbury
8d939fc7e1
Merge pull request #1477 from dotnet/brthor/deps-space-fix
...
fix dotnet-compile.deps.json space in the path issue.
2016-02-18 11:24:40 -08:00
Bryan
dd103cf6a8
fix dotnet-compile.deps.json space in the path issue.
...
add test for space in the path with Preserve Compilation Context
fix project.json
update tests
update test
2016-02-18 10:51:50 -08:00
Bryan Thornbury
c749bae962
Pipe configuration through CommandResolver
...
script changes to pipe configuration to test.ps1
debug commit, remove this commit
Change dotnet-test to invoke dotnet-test-xunit directly
build tests with configuration, framework, runtime in windows
Update testtargets in new build scripts
make configuration first arg to dotnet test
PR Feedback
update command factory
fix interface
test update
2016-02-18 09:57:30 -08:00
Pavel Krymets
c65a1700eb
Merge pull request #1449 from dotnet/pakrym/runtime-assets
...
Fix publish runtime asseets
2016-02-18 08:07:37 -08:00
David Fowler
8645031db8
Merge pull request #1471 from dotnet/davidfowl/fix-versions
...
Fixing versions
2016-02-18 02:42:31 -08:00
David Fowler
ed16632a33
Flow the version suffix via pack as well
2016-02-18 02:27:35 -08:00
Senthil
e1d8a0505c
Update appdep
2016-02-18 01:22:54 -08:00
David Fowler
69b5e3f815
Fixing versions
...
- Added --version-suffix to build and publish
- Support reading DOTNET_* version variables everywhere versions can be read
- Show the commit sha in dotnet --version
- Added tests that check the assembly output version
- Set DOTNET_BUILD_VERSION when producing the CLI app itself so that it has the version information stamped in for help.
2016-02-18 01:10:07 -08:00
Bryan
b1885eaa58
Cleanup all the Trims everywhere. csc is the only program which requires response files to have quotes.
...
additional cleanup
2016-02-17 16:38:41 -08:00
Bryan Thornbury
23907bc924
Merge pull request #1434 from dotnet/brthor/1280/resgen-spaces
...
Fix Resgen with Spaces in Path
2016-02-17 09:35:26 -08:00
Pavel Krymets
b0ff1857cc
Fix publish runtime asseets
2016-02-16 20:54:11 -08:00
Bryan Thornbury
ccce495737
Fixes #1280
...
PR Feedback for resgen tests
don't trim
update use-dev for win10
additional product changes
More fixes
fix
fix resgen
2016-02-16 17:07:58 -08:00
Pavel Krymets
78ccff9d50
Merge pull request #1428 from dotnet/pakrym/runtime-context-logic
...
Use runtime context only where we require it
2016-02-16 17:03:01 -08:00
Pavel Krymets
9fb99526a1
Use runtime context only where we require it
2016-02-16 15:54:33 -08:00
Piotr Puszkiewicz
2471a3fc55
Merge pull request #1444 from dotnet/piotrpMSFT/Issue1352/RID_Override
...
Remove dotnet-restore RID override
2016-02-16 14:38:12 -08:00
Pavel Krymets
8a94e66384
Merge pull request #1439 from dotnet/pakrym/pack-output
...
Fix pack output location
2016-02-16 14:29:19 -08:00
Piotr Puszkiewicz
6e6b8126ac
Fixes #1352
2016-02-16 13:59:16 -08:00
Pavel Krymets
4d4f5ad895
Fix pack output location
2016-02-16 13:56:07 -08:00
Troy Dai
8058b42e9b
Add FrameworkData to ProjectReferenceDescription
2016-02-16 10:35:31 -08:00
Austin Wise
67b4012e45
Move the help command it it's own class.
...
Also fix the help command to work with intrinsic commands.
2016-02-15 20:11:02 -08:00
David Fowler
129442923a
Updated to a newer version of NuGet
...
- Update the newest nuget
- Filter out build dependencies from the project resolver based on hte lock file
- Fix more erroneous build dependencies
2016-02-15 18:39:29 -08:00
David Fowler
77dfbd8e43
Fixed the build
...
- csc kept crashing on stage 2 and it turned out to be a version mismatch with System.Reflection.Metadata.
- Silenced crossgen
- Made omnisharp see all of the projects
2016-02-15 09:03:40 -08:00
Senthil
ef00f0331e
Include project.json dependencies for native
2016-02-14 17:20:23 -08:00
Piotr Puszkiewicz
e8ef94e93f
Merge pull request #1212 from AustinWise/fixColors
...
Fix color printing and --verbose
2016-02-12 23:39:49 -08:00
Senthil
28f35c1cfa
Remove DOTNET_HOME from the CoreCLR probe path
2016-02-12 17:03:09 -08:00