Andrew Stanton-Nurse
62b7740c95
add trimming of published output based on sharedfx
...
Any dependencies which **exactly** match the version requested in the
graph originating at the `type: platform` dependency (if any) are
trimmed from the publish output
2016-03-28 18:50:17 -07:00
Piotr Puszkiewicz
14aa53eeff
Fix build break on Windows
2016-03-28 17:25:52 -07:00
piotrp
a23568b4e5
Fix build break on non-Windows
...
And PR Feedback
2016-03-28 17:25:52 -07:00
piotrp
1a42fa05a4
Add WorkingDirectory to TestCommand
2016-03-28 17:25:52 -07:00
piotrp
60bd88d261
Make test windows-only
2016-03-28 17:25:52 -07:00
piotrp
139911b8b3
Add functional test for dependency commands
2016-03-28 17:25:52 -07:00
piotrp
d85e516c23
Test Infra
2016-03-28 17:25:52 -07:00
eerhardt
cefed77ca9
Updating dependencies from last known good builds
2016-03-28 17:27:54 +00:00
Livar
1ff15e35bc
Merge pull request #2078 from livarcocc/dotnet_test_help
...
Added a Help property to DotnetTestParams that indicates when the par…
2016-03-28 09:31:09 -07:00
Sridhar Periyasamy
4e5fb96a50
Merge pull request #2048 from Sridhar-MS/msi-changes
...
Windows Installer changes
2016-03-27 20:49:46 -07:00
Livar Cunha
d07a1091a8
Added a Help property to DotnetTestParams that indicates when the parsed arguments included the help param. The TestCommand then uses this property of the params to decide whether to continue with the execution or just return. Also added unit tests around this as well as introduced a DotnetTestRunnerFactory to make these unit tests possible and also push the responsibility to figure out which runner to use to the factory.
2016-03-25 20:17:15 -07:00
Sridhar Periyasamy
4186aca998
Make the bundle to be uninstallable and fix MSI tests.
2016-03-25 16:38:35 -07:00
Justin Emgarten
86ee8a561b
Updating nuget to 3.5.0.1083
2016-03-25 16:37:12 -07:00
eerhardt
ed887d183a
Updating dependencies from last known good builds
2016-03-25 16:48:25 -05:00
Livar Cunha
85884c5e9a
Removed the DIA classes and the cod associated with it. Introduced a PdbReaderFactory that decides with PdbReader to use (full or portable). Introduced a PdbReader interface that abstracts the differences between full pdb (Uses ISymUnmanaged classes to read the pdb) and portable pdb (uses Reflection MetadataReader).
2016-03-25 10:58:05 -07:00
Mihai Codoban
f14b4cbd3d
Trigger rebuild when the CLI changed
...
- Stamp each project with the CLI version it was last compiled with
- Rebuild those projects with a local version file that does not match the one of the current CLI that is building it
2016-03-24 15:17:49 -07:00
Eric Erhardt
1febe48d71
Updating CoreFX version to rc2-23924
2016-03-24 16:05:24 -05:00
Eric Erhardt
a5813791d5
Updating CoreFX version to rc2-23923
2016-03-24 16:04:37 -05:00
Eric Erhardt
3186432ebd
Fix up the project.json files for CoreFX build rc2-23922.
...
- ProjectModel uses AssemblyLoadContext which is only available in netstandard1.5. Moving ProjectModel and all its dependencies up to netstandard1.5.
- Work around our dependencies still being on old CoreFX builds by hoisting System.Runtime.Serialization.Primitives, System.Private.DataContractSerialization, System.Linq.Expressions, and System.Xml.XmlSerializer references to the current version.
2016-03-24 16:03:19 -05:00
eerhardt
9bc478660a
Updating dependencies from last known good builds
2016-03-24 16:02:33 -05:00
Pavel Krymets
7a82a98e4c
Merge pull request #2016 from dotnet/pakrym/signature
...
Add runtime signature into deps.json
2016-03-24 13:57:40 -07:00
Pavel Krymets
f75481f731
Add runtime signature into deps.json
2016-03-24 12:00:01 -07:00
Andrew Stanton-Nurse
0a369aa6d5
update to new nuget and turn inference on
2016-03-24 11:43:37 -07:00
Andrew Stanton-Nurse
43512b8973
add support for type: platform
...
also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
2016-03-23 21:53:14 -07:00
Sridhar Periyasamy
850e02a1ce
Pin down version for xunit.netcore.extensions.
2016-03-23 15:58:50 -07:00
Bryan Thornbury
34ca32ebaf
Merge pull request #1890 from dotnet/brthor/fix-deb-path
...
Fix the Debian Package for SharedFx, Publish all to our Repo
2016-03-22 18:21:03 -07:00
Bryan Thornbury
9040a9094f
Merge pull request #1851 from dotnet/brthor/run-arg
...
Change dotnet run to call the muxer
2016-03-22 18:09:07 -07:00
Bryan Thornbury
97a01213ac
Fix debian packages
2016-03-22 15:01:01 -07:00
Troy Dai
2f53c23738
Merge branch 'troy/quickfix' into rel/1.0.0
2016-03-21 19:10:20 -07:00
Troy Dai
fc357474d3
Create DthTestClient with LoggerFactory
2016-03-21 15:21:17 -07:00
Troy Dai
1b8d69abc1
Log the Socket error code
2016-03-21 15:18:28 -07:00
Troy Dai
d82c2f557a
Temporary swallow SocketException in DthTest
2016-03-21 14:55:02 -07:00
moozzyk
621d8376c3
Fixing publish to create executable with the outputName if specified
2016-03-21 12:42:32 -07:00
moozzyk
03f5379165
Adding support for output file name for apps.
2016-03-21 12:42:31 -07:00
moozzyk
856fb8d6d9
Enable specifying output assembly name in compiler options
...
Addresses #1797
2016-03-21 12:42:31 -07:00
Livar
14d5dd80b0
Merge pull request #1853 from livarcocc/more_test_params
...
Added remaining params from https://github.com/dotnet/cli/issues/1376 and build before tests
2016-03-19 10:01:28 -07:00
Bryan Thornbury
2afe032280
Add tests and change to call exec
2016-03-17 18:20:52 -07:00
Bryan Thornbury
861b7494d3
Add hacky abstraction for quickly parsing RuntimeConfig.json and determining if it's a portable app
2016-03-17 16:39:48 -07:00
Bryan Thornbury
d878331a5e
Fix EndToEnd Tests for portable build and publish
2016-03-17 15:24:36 -07:00
Livar Cunha
8358ccb5e8
Added build before running the tests and the no-build option to opt out of it.
...
Added new tests to ProjectDependencyCommandResolver and new E2E tests for dotnet test.
2016-03-17 15:17:18 -07:00
Bryan Thornbury
6c17d0e29c
fix test
2016-03-17 14:41:56 -07:00
Bryan Thornbury
98b0c03444
Merge branch 'brthor/nuget-tools-on-shared-fx', remote-tracking branch 'origin' into cli-sdk-stages
2016-03-17 13:56:51 -07:00
Bryan Thornbury
bd3ba0bd41
Update tests to reflect portable tools
2016-03-17 13:44:32 -07:00
Livar Cunha
45abe6d52b
Added extra params (base-build-path, runtime, framework) and refactored parameter parsing into its own class with tests.
...
Changed program.cs to use the new dotnettestparams.
Hooked up the new parameters to the ProjectDependencyCommandResolver
2016-03-17 13:29:16 -07:00
Pavel Krymets
6970a75746
Remove csv reader
2016-03-17 10:03:26 -07:00
Sridhar Periyasamy
5150bae60c
Fix Package targets to respect the new CLI SDK layout.
2016-03-16 17:54:44 -07:00
Livar
3031c0dc28
Merge pull request #1894 from livarcocc/update_xunit_runner
...
Updating the dotnet-test-runner version to 1.0.0-dev-91790-12. Some p…
2016-03-16 10:52:57 -07:00
Eric Erhardt
964318b291
Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
...
This reverts commit 4304ca9848
.
2016-03-16 11:44:09 -05:00
Livar Cunha
00cb8fa045
Updating the dotnet-test-runner version to 1.0.0-dev-91790-12. Some projects still had the old version, which won't work with VS.
2016-03-15 20:22:10 -07:00
Livar
1c9803d980
Merge pull request #1786 from livarcocc/tests_as_client
...
Modifying the reporting channels to make the AdapterChannel a client
2016-03-15 16:37:26 -07:00
Andrew Stanton-Nurse
cc00d9d839
update project templates for portable app
...
also fix dotnet run
2016-03-15 15:18:48 -07:00
Livar Cunha
8d39adbdbf
Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.
...
Added E2E tests for dotnet test interactions with an adapter (design time).
2016-03-15 15:13:54 -07:00
Pavel Krymets
ffedcb315f
Merge pull request #1875 from dotnet/pakrym/graph-reader
...
Fix runtime graph reader
2016-03-15 14:05:42 -07:00
Pavel Krymets
a76558f560
Fix runtime graph reader
2016-03-15 12:51:43 -07:00
Eric Erhardt
4304ca9848
Update the .xproj files to reference the "DotNet" targets and props instead of "DNX".
2016-03-15 13:59:00 -05:00
Eric Erhardt
3714cc25e9
Merge pull request #1865 from eerhardt/RemoveWorkarounds
...
Removing project.json dependency workarounds that were needed for CoreFX 23901 build.
2016-03-15 13:58:21 -05:00
Eric Erhardt
ce3c594880
Removing project.json dependency workarounds that were needed for CoreFX 23901 build.
2016-03-15 12:34:32 -05:00
Pavel Krymets
c10df6b6a5
Add support for loading and merging runtime deps json
2016-03-15 09:32:39 -07:00
Eric Erhardt
2378a34401
Workaround Microsoft.Win32.Registry problem on unix in the tests that reference the dotnet project.
2016-03-14 17:59:13 -05:00
eerhardt
8953400eee
Updating dependencies from last known good builds
2016-03-14 17:58:13 -05:00
Andrew Stanton-Nurse
008a1ad0fa
put 'native' section in to runtime targets for deps file
2016-03-14 12:57:34 -07:00
Andrew Stanton-Nurse
d08e83d5db
add support for portable application layout
2016-03-12 11:52:29 -08:00
Troy Dai
429625061d
Merge branch 'troy/531' into rel/1.0.0
2016-03-11 09:53:18 -08:00
Troy Dai
78257e7388
Update DotNEtReferenceAssembliesPathResolver
2016-03-10 16:57:57 -08:00
Pavel Krymets
5a121215cd
Merge pull request #1801 from dotnet/pakrym/deps-rids-paths
...
Fix issue with paths in deps.json not being normalized to have `/`
2016-03-10 15:20:36 -08:00
Pavel Krymets
5214d176cd
Fix issue with paths in deps.json not being normalized to have /, also moves rid graph section to root leve instead of being inside arget subsection
2016-03-10 13:45:06 -08:00
Troy Dai
a50a5a9d73
Retry when lock file is occupied by other process
2016-03-10 11:46:52 -08:00
Sridhar Periyasamy
88c1340f6d
Merge pull request #1782 from jeremymeng/debian
...
Add support for building dotnet/cli on Debian.
2016-03-09 17:30:44 -08:00
Jeremy Meng
ee4bbb43ff
Add support for building dotnet CLI on Debian.
2016-03-09 23:05:02 +00:00
Pavel Krymets
9631ba8927
Generate actual deps.json file
2016-03-09 14:11:43 -08:00
Pavel Krymets
85b7336529
Merge pull request #1750 from dotnet/pakrym/deps-duplication-fix
...
Fix dependency context builder regression
2016-03-09 13:43:53 -08:00
Troy Dai
628f54c77c
Send an empty error message after global error is cleared
2016-03-09 08:15:18 -08:00
Andrew Stanton-Nurse
12dd8d6112
fix bad merge that lost removal of net45 from portable app test
2016-03-08 15:03:04 -08:00
Pavel Krymets
dd3c0f50db
Add reference assemblies and runtime targets support to dependency context builder.
2016-03-08 12:03:10 -08:00
Andrew Stanton-Nurse
7cc90d9ad1
Update dotnet-build to produce portable layout
...
dotnet-build will produce a deps file for portable builds, and will now
create "runnable" outputs for RID-less targets
the outputs won't actually be runnable today because we need corehost
changes and to generate a deps.json file for corehost to use.
2016-03-08 11:46:15 -08:00
Andrew Stanton-Nurse
444e4f9fd7
update version of nuget
2016-03-08 09:53:06 -08:00
Livar
5d78743324
Merge pull request #1740 from livarcocc/update_tests_to_lastest_runner
...
Updating test projects to the lastest version of dotnet-test-xunit runner.
2016-03-08 09:37:52 -08:00
Sridhar Periyasamy
d5748854fb
Merge pull request #1667 from Sridhar-MS/rhel
...
Add support for building dotnet CLI on RHEL.
2016-03-08 09:35:30 -08:00
Pavel Krymets
a0db5086f6
Fix dependency context builder regression
2016-03-08 09:22:17 -08:00
Sridhar Periyasamy
53fd607584
Fix EndToEnd tests for RHEL.
2016-03-07 20:23:41 -05:00
Sridhar Periyasamy
c4cb1f2d53
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rhel
...
Conflicts:
TestAssets/TestProjects/OutputStandardOutputAndError/project.json
2016-03-07 19:30:35 -05:00
Livar Cunha
6705585a67
Updating test projects to the lastest version of dotnet-test-xunit runner.
2016-03-07 14:55:39 -08:00
Bryan Thornbury
9f58651b6c
PR Feedback and nearly full test coverage for resolvers
...
fix
resolve rebase issues
2016-03-07 14:45:16 -08:00
Bryan Thornbury
b813e2b849
Fixes #1649
...
make things work again
fix
Tests Passing
cleanup
fix
fix
2016-03-07 14:35:41 -08:00
Bryan
42cc39252e
Refactor CommandResolver into individual CommandResolver Implementation
...
classes.
Write Unit Tests covering Composite DefaultCommandResolver and
ScriptCommandResolver.
baseline
Baseline2
2016-03-07 14:34:23 -08:00
Livar
1fccdbd6ec
Merge pull request #1697 from livarcocc/tests_to_run_in_message
...
Modified the protocol to send a the list of tests to run in a message
2016-03-07 14:01:45 -08:00
Livar Cunha
e498f1dc9d
Modified the protocol to send a the list of tests to run and to invoke the test runner with the wait command flag so that the runner waits for this list.
...
Modified the reporting channel factory to have a create for the adapter and a create for the runner channel. Also added an event to the create runner channel that people can listen and be notified when a test runner channel was created. I use this event to give the message handler access to the runner channel.
Added the new message handler to DotnetTest.
2016-03-04 17:14:56 -08:00
Pavel Krymets
f73e447cfc
Actually fix tests
2016-03-04 15:09:21 -08:00
Pavel Krymets
1658a40806
Fix tests
2016-03-04 15:05:29 -08:00
Pavel Krymets
1d7cff48d4
PR
2016-03-04 14:12:16 -08:00
Pavel Krymets
7df754be36
Finish builder tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
0a0c4a830e
Even more tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
dcaea8c7ca
More work and tests
2016-03-04 11:01:15 -08:00
Pavel Krymets
9bd9ca1512
Add more tests and some reading logic
2016-03-04 11:01:15 -08:00
David Fowler
3ed9361763
Merge pull request #1699 from dotnet/davidfowl/error-handling
...
Tweak error handling a little bit
2016-03-04 07:54:19 -08:00
David Fowler
25b5ce9c77
Tweak error handling a little bit
...
- Handle unresolved projects better in build
- Move unresolved package marking to the resolver
- Added ToString to LibraryKey for easy diagnosis of errors
2016-03-04 01:17:37 -08:00
Eric Erhardt
a709f772f1
Merge pull request #1645 from eerhardt/NewCorefx
...
Move to CoreFX build rc2-23901
2016-03-03 23:21:52 -06:00
Eric Erhardt
8e06989c8f
Add a workaround for a Sockets issue on Unix.
...
Adding an explicit reference to System.Net.NameResolution in our dotnet-projectmodel-server.Tests. The current build of Roslyn references an old version of System.Net.NameResolution which is the version that gets used during the test. Explicitly referencing the current CoreFX version for now. This should be reverted when the underlying bug gets fixed, or Roslyn moves to a newer CoreFX version.
2016-03-03 21:41:00 -06:00
Eric Erhardt
6468b14e1d
Move to CoreFX build rc2-23901
...
Update .exe's project.json Target Framework from dnxcore50 to netstandardapp1.5.
Update .dll's project.json Target Framework from dnxcore50 to netstandard1.3.
Adding workaround for DataContractSerialization to src\dotnet\project.json to fix crossgen issue.
Build 23901 has a dependency issue that doesn't allow the runtime.any.System.Private.DataContractSerialization
package to be restored. When we move to a new build of CoreFX we should take this workaround out.
2016-03-03 16:41:55 -06:00
Troy Dai
496d9fd141
Add test case for scenario in 1665
2016-03-03 13:13:15 -08:00
Pavel Krymets
d701e54d8c
Merge pull request #1671 from dotnet/pakrym/package-cache
...
Search for package cache hash file in right directory
2016-03-03 11:37:13 -08:00
Livar Cunha
03b6b8ada0
We had a bug where the framework for design time runs of dotnet test was hard coded into dnxcore50. Moved some things around so that we will pack the target framework from the project context.
2016-03-02 22:15:02 -08:00
Pavel Krymets
30992babaf
Search for package cache hash file in right directory
2016-03-02 20:04:26 -08:00
Sridhar Periyasamy
3a4ce0a86b
Add support for building dotnet CLI on RHEL.
2016-03-02 15:47:46 -08:00
Livar
5b1ad5fe3e
Merge pull request #1652 from livarcocc/test_output_param
...
Added output param to dotnet test
2016-03-02 14:09:40 -08:00
Troy Dai
b63705198c
Merge branch 'troy/1569' into rel/1.0.0
2016-03-02 09:31:36 -08:00
Livar
66a4554290
Merge pull request #1640 from livarcocc/update_xunit_runner
...
Updating tests to use the latest version of dotnet-test-xunit
2016-03-01 22:47:37 -08:00
Livar Cunha
ebab175d17
Added a command factory where you can fix the output parameters that will flow to the commands, like configuration, outputpath and in the future, framework, runtime and base path.
2016-03-01 22:28:46 -08:00
Livar Cunha
9953ab48b3
Changing from serializing ProcessStartInfo to our own TestStartInfo class, because serializing ProcessStartInfo doesn't really work cross-platform due to unsupported properties.
2016-03-01 21:53:51 -08:00
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
Troy Dai
9f8906fdac
Update dotnet projectmodel tests
2016-03-01 12:58:30 -08:00
Troy Dai
78433197b3
Add tests to capture issue 1568
2016-03-01 12:58:30 -08:00
Troy Dai
7582649f88
Merge branch 'troy/add.test.wip' into rel/1.0.0
2016-02-29 22:32:19 -08:00
Troy Dai
13f97b0cb8
Replace TestHelper with TestAssetsManager
2016-02-29 21:34:48 -08:00
Troy Dai
f7e4714dc5
Integrate ProjectModel server tests
2016-02-29 20:40:04 -08:00
Sridhar Periyasamy
de89da6a3a
Merge pull request #1551 from Sridhar-MS/cli-x86-support
...
Add support for building Windows x86 version of dotnet CLI
2016-02-29 14:59:51 -08:00
Livar
1740854a85
Merge pull request #1610 from livarcocc/remove_net461_build_tests
...
Removing net 461 from the build tests, as we are also missing that framework from our VSO machines at the moment.
2016-02-27 15:03:30 -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
Troy Dai
268dd603cc
Ensure Microsoft.CSharp reference is not duplicated
2016-02-26 15:06:39 -08:00
Livar Cunha
b14881d303
Removing net 461 from the build tests, as we are also missing that framework from our VSO machines at the moment.
2016-02-26 14:53:27 -08:00
Sridhar Periyasamy
01d2656be1
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into cli-x86-support
2016-02-26 14:34:25 -08: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
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
Livar Cunha
58b8e332c1
The multitarget framework build tests is failing in VSO for net20 and net40 because it requires specific things installed at the machine. Removing the tests for these two frameworks.
2016-02-25 11:18:28 -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
Eric Erhardt
445b1b3adb
Merge pull request #1526 from eerhardt/UpdateCI
...
Enable installer tests in our CI.
2016-02-25 08:59:18 -06:00
David Fowler
6dc5efb0e2
Merge pull request #1513 from discostu105/rel/1.0.0
...
Fix net20 compatibility
2016-02-24 21:41:40 -08:00
Pavel Krymets
6aeed1f52d
Merge pull request #1563 from dotnet/pakrym/wrapped-project
...
Fix wrapped project path resolution
2016-02-24 18:21:14 -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
1bfd7725b0
Fix wrapped project paht resolution
2016-02-24 16:40:22 -08:00
Pavel Krymets
334ee7829a
Merge pull request #1536 from dotnet/pakrym/fix-run-tests
...
Fix run tests
2016-02-24 14:03:23 -08:00
Pavel Krymets
acd581c376
Merge pull request #1502 from dotnet/pakrym/dc-deps
...
Add support for reading DepedencyContext from deps file
2016-02-24 14:03:15 -08:00
Pavel Krymets
89cf169a08
Fix run tests
2016-02-24 08:12:32 -08:00
discostu105
af5aaea6d0
assert on Should().Fail() on non-windows platforms for desktop frameworks
2016-02-24 14:19:21 +01:00
Pavel Krymets
0037e0aba9
Fix dontet pack with buildbasepath
2016-02-23 19:13:50 -08:00
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
Eric Erhardt
2685d282b8
Enable installer tests in our CI.
2016-02-23 17:57:22 -06: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
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
d0d3a629a5
added unit test. made if condition easier to understand.
2016-02-23 15:53:51 +01: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
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
Pavel Krymets
6ca22e4a56
Fix run behaviour when only single target exists
2016-02-22 15:11:24 -08:00
Pavel Krymets
69c0375b3f
Add error message when runtime target is not found
2016-02-20 18:20:16 -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
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
ed16632a33
Flow the version suffix via pack as well
2016-02-18 02:27:35 -08:00
David Fowler
c941162b17
Fixed the test names
2016-02-18 01:12:24 -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
Troy Dai
ffb782594a
Merge branch 'troy/add.test' into rel/1.0.0
2016-02-17 22:16:26 -08:00
Pavel Krymets
93570ea4aa
Fix app local resolution logic
2016-02-17 17:06:33 -08:00
Troy Dai
c2e5b0f24d
Add a ProjectModel test
2016-02-17 16:29:28 -08:00
Eric Erhardt
247b8106d8
Move FSharpTestProjects to the TestAssets folder.
2016-02-17 15:58:30 -06: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
Piotr Puszkiewicz
d9b54cecac
Merge branch 'PackagedCommands' of https://github.com/eerhardt/cli into eerhardt-PackagedCommands
2016-02-16 21:20:57 -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
Sridhar Periyasamy
735b4beb7c
Merge pull request #1340 from Sridhar-MS/test-fx
...
[WIP]: TestFramework with support for managing test projects.
2016-02-16 16:09:09 -08:00
Pavel Krymets
9fb99526a1
Use runtime context only where we require it
2016-02-16 15:54:33 -08:00
Sridhar Periyasamy
278475fdce
Update IncrementalTestsOnCultureSpecificResource.cs
2016-02-16 15:41:36 -08:00
Bryan Thornbury
e486fb2020
Add Resgen Test Project, Add test to build project with resource with a space in the path.
2016-02-16 15:18:50 -08:00
Pavel Krymets
7754e8c710
Merge pull request #1362 from dotnet/pakrym/dc-tests
...
Refactor DependencyModel, add unit tests, add EnvironmentAbstraction library
2016-02-16 14:51:47 -08:00
Pavel Krymets
4d4f5ad895
Fix pack output location
2016-02-16 13:56:07 -08:00
Sridhar Periyasamy
9ec8556d24
Rebase with the latest sources and fix the tests.
2016-02-16 11:26:40 -08:00
Sridhar Periyasamy
ab455e6bb9
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-16 09:58:20 -08:00
Pavel Krymets
39e1e26f0e
Refactor DependencyModel, make it ready for tests
2016-02-16 09:56:19 -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
Senthil
ef00f0331e
Include project.json dependencies for native
2016-02-14 17:20:23 -08:00
Sridhar Periyasamy
2a94a1e384
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
...
Conflicts:
Microsoft.DotNet.Cli.sln
scripts/dockerbuild.sh
scripts/test/setup/build-test-prerequisites.ps1
test/dotnet-build.Tests/IncrementalTestBase.cs
test/dotnet-publish.Tests/Microsoft.DotNet.Tools.Publish.Tests.cs
test/dotnet-publish.Tests/project.json
2016-02-12 17:26:58 -08:00
Sridhar Periyasamy
d7274af53a
Address PR Feedback
2016-02-12 16:57:32 -08:00
Andrew Stanton-Nurse
d524732bbb
working on build scripts
2016-02-12 15:26:35 -08:00
Livar Cunha
64c17c5541
Making argument forwarding tests run with dotnet test and removing the its special test scripts.
2016-02-12 13:33:41 -08:00
Bryan Thornbury
50ab680688
update compiler unit tests
...
fix rebase errors
PR Feedback
more PR feedback
fix
make new script file executable
Remove scripts from TestAppCompilationContext
add hashbang to echoscript
2016-02-12 11:37:15 -08:00
Bryan Thornbury
c1e28ae921
Refactor ScriptExecutor, add test cases for scriptexecutor.
...
Add TargetFramework and FullTargetFramework to compile and publish script
variables.
Add ProjectLocal Command Resolution Strategy.
Fixup ArgumentEscaper to not always quote things.
Fixes #1216
Fixes #1016
Fixes #982
2016-02-12 11:04:30 -08:00
Piotr Puszkiewicz
82bbd22d46
Merge pull request #1272 from cdmihai/cdmihai/noDependencies
...
Add --no-dependency flag to build
2016-02-12 10:59:54 -08:00
Sridhar Periyasamy
96e425f8bb
Fix build breaks and some 'build' tests.
2016-02-11 15:55:37 -08:00
Sridhar Periyasamy
f86952cf1d
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into test-fx
2016-02-11 14:22:24 -08:00
Sridhar Periyasamy
9695fbfeda
Refactor 'publish' and 'build' tests to use the TestFramework
2016-02-11 14:17:20 -08:00
Livar Cunha
e945361a76
Replacing the fixed rid in the dotnet compile unit test by one that respects the platform where the tests are running.
...
Removing trailing slashes for the paths passed to the scripts to avoid the double quotes escaped issue.
2016-02-11 12:44:27 -08:00
Livar Cunha
4e1ec4c159
Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
...
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Andrew Stanton-Nurse
236fcd8f95
update everyone to 23811
...
add a little hackiness to the build script to use 23811 in the stage 0 as well
2016-02-11 10:38:59 -08:00
Mihai Codoban
a0990a518c
Add --no-dependency flag to build
2016-02-10 15:35:27 -08:00
Pavel Krymets
4462dc21f8
Do not search for runtime output in dependencies
2016-02-10 15:20:08 -08:00
Eric Erhardt
5d04ca1fe3
Move PackagedCommands to TestAssets.
...
Convert package-command-test.ps1 to an XUnit test.
2016-02-10 15:05:25 -06:00
Eric Erhardt
74d8051f79
Bump CoreFx to rc2-23810
2016-02-10 13:50:28 -06:00
Sridhar Periyasamy
d1d14283a1
TestFramework with support for managing test projects.
...
The CLI tool's tests are run against sample test projects for validation.
TestFramework provides an easy way to manage these sample test projects.
Converted the publish test to use the TestFramework.
2016-02-10 00:21:19 -08:00
Eric Erhardt
490f4af0d4
Refactoring test directories.
...
- Rename Compiler.Common.Tests to Microsoft.DotNet.Compiler.Common.Tests.
- Create the Microsoft.DotNet.Cli.Utils.Tests and move StreamForwarderTests to it.
- ArgumentForwardingTests will be moved here in the future
- Remove LoadContextTest, since it is old and no longer relevant.
Partial #1250
2016-02-09 18:26:53 -06:00
Piotr Puszkiewicz
48797ea80a
Bump CoreFx to rc2-23808
...
Workaround for issue 1294
Improve crossgen notifications
2016-02-09 15:49:45 -08:00
Eric Erhardt
199093b09c
Merge pull request #1330 from eerhardt/TestProjectMove
...
Move OutputStandardOutputAndError test project with the other test projects.
2016-02-09 17:48:34 -06:00
Eric Erhardt
10b6191b3e
Move OutputStandardOutputAndError test project with the other test projects.
...
Partial #1250
2016-02-09 16:51:02 -06:00
Pranav K
1d25d2574d
Fix the paths at which CompileContext locates resgen outputs.
...
Fixes #1136
2016-02-09 14:29:25 -08:00
Eric Erhardt
784f5679bf
Rename E2E test to EndToEnd.
2016-02-09 15:12:25 -06:00
Eric Erhardt
8ce79407db
Merge pull request #1312 from eerhardt/MoveMsiTests
...
Move Msi tests into the \test directory.
2016-02-09 15:10:39 -06:00
Pavel Krymets
7baf0d61c6
Merge pull request #1313 from dotnet/pakrym/paths2
...
Fix tests on OS X and add diagnostic message
2016-02-09 11:59:38 -08:00
Eric Erhardt
faa88ae155
Move Msi tests into the \test directory.
...
Partial #1250
2016-02-09 13:15:01 -06:00
Pavel Krymets
3f058d4f32
Fix tests and add diagnostic message
2016-02-09 10:58:36 -08:00
Bryan Thornbury
0b27dba299
Merge pull request #1240 from dotnet/brthor/stream_forwarding_changes
...
Stream Forwarding Changes.
2016-02-09 10:45:35 -08:00
Bryan Thornbury
0d5984ec6e
Fix Incremental Test
2016-02-09 10:05:07 -08:00
Pavel Krymets
0f82ae37f3
Refactor output directory code
2016-02-09 08:52:59 -08:00
Eric Erhardt
3d14caceff
Test directory refactoring step 1.
...
Moving TestProjects and TestPackages under root 'TestAssets' folder.
Partial fix #1250
2016-02-08 20:35:22 -06:00
Bryan Thornbury
ff888a70a4
Fix the compile Test
2016-02-08 18:01:27 -08:00
Bryan Thornbury
2106bb9295
Remove the Async Ordering Test
2016-02-08 14:19:04 -08:00
Bryan Thornbury
b8e95a9568
Argument Fowarding Tests should account for newline added by StreamFowarder. Add an entry to developer guide so command developers will use Console.WriteLine. PR feedback and slight refactoring.
2016-02-08 14:19:03 -08:00
Bryan Thornbury
ccaaebf6e5
Stream Forwarding changes to not wait on buffer full before writing. Instead input streams will be read character by character as they Console.Write or Console.WriteLine. Upon finding a newline character, the line will be printed to the parent process's console.
2016-02-08 14:19:02 -08:00
Eric Erhardt
a7e9ee52c9
Update to .Net Core rc2-23805
2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
65c026afbf
Merge pull request #1052 from cdmihai/cdmihai/HFSTimeStampBug
...
Allow false positive rebuilds when timestamp collision occurs
2016-02-04 17:15:04 -08:00
Mihai Codoban
6d1ff3af8c
Allow false positive rebuilds when timestamp collision occurs
...
Fixes #965
2016-02-04 16:35:04 -08:00
Mihai Codoban
897c0fa0f0
Rename --force-incremental-unsafe flag to --no-incremental
2016-02-04 15:57:10 -08:00
Livar Cunha
42222e50a3
Updating to last version of dotnet-test-xunit
2016-02-03 17:09:52 -08:00
Livar Cunha
e618ff091f
Making the test scripts work with dotnet test.
2016-02-03 17:07:55 -08:00
Livar Cunha
fd604355fe
Introducing a new library to hold file system related abstractions. Making the E2E tests work with dotnet test
2016-02-03 17:07:40 -08:00
Livar Cunha
3048eb487c
Making dotnet-compile run with dotnet test. Added a method to PathUtil to calculate target paths ignoring directory traversal characters.
...
Making dotnet-build.tests run with dotnet test
Making dotnet-publish.test work with dotnet test
2016-02-03 17:07:38 -08:00
Eric Erhardt
7573689a22
Removing www.myget.org in our tests.
...
We have a bunch of NuGet.Config files in our tests that were needed before because the tests were run out of a temp directory. Now the tests are run out of the artifacts folder, which is a subdirectory of our repo root, so the root NuGet.Config will get picked up.
I also updated all the dotnet-core feeds from www.myget.org to dotnet.myget.org.
2016-02-03 17:39:50 -06:00
David Fowler
2d04bdcd17
Merge pull request #1195 from dotnet/davidfowl/faster-restore
...
Pin versions and restore less
2016-02-03 00:42:26 -08:00
David Fowler
fe5f19765d
Fixed versions that actually exist still
2016-02-02 23:24:22 -08:00
David Fowler
73f7550b98
Pin versions and restore less
...
- Should speed up the build
2016-02-02 23:03:12 -08:00
Troy Dai
b9f2d8fe3d
Fix projectmodel-server regression
...
1. Address the null reference exception when a project dependency is
broken.
2. Address the duplicate key issues after the logic of redirecting
System pacage to reference assembly was added
Update projectmodel-server and tests
1. Fix test timeout caused by undisconnected socket;
2. Update project model server
2016-02-02 22:26:16 -08:00
Andy Gocke
7a203c02e1
Merge pull request #1158 from agocke/add-additional-arguments
...
Add "additionalArguments" compilation option
2016-02-02 12:22:03 -08:00
Andy Gocke
6ba581fc17
Add support for 'additionalArguments' in compilationOptions
...
Rather than keep a map that will have to be constantly updated every time
a new argument gets added to a compiler, the 'additionalArguments' option
will allow users to directly add arguments to the underlying compiler.
2016-02-01 22:48:12 -08:00
David Fowler
ec10a1d6be
Upgrade stdlib and enable crossgen
2016-02-01 20:48:34 -08:00
David Fowler
dfc59eb20e
Everything in the same project
...
- Build in intrinsic commands as part of dotnet
2016-02-01 14:56:32 -08:00
Bryan Thornbury
31c718d5d3
Merge pull request #1117 from dotnet/brthor/refactor_test_scripts
...
Refactor test scripts
2016-02-01 14:15:36 -08:00
Andrew Stanton-Nurse
0951d424be
Merge pull request #1100 from dotnet/anurse/1093-fix-shared-source-packages
...
suppress adding project output to export when there is no output
2016-02-01 10:28:14 -08:00
Bryan Thornbury
7172cea49c
add back assert for deps file
2016-01-30 00:21:17 -08:00
Bryan
1a1e755dd2
add back assertion for deps file not existing
2016-01-30 00:21:16 -08:00
Bryan Thornbury
afacc2c0a6
Finish Refactoring Test Scripts
...
remove publish todo
small fixes
small fixes
fix packaging test bug
Fix script bug
script changes
fix packaging test
NuGet task cancelled workaround
script fixes further
more script fixes, + workaround tweak
use build rather than compile in package command test
2016-01-30 00:21:14 -08:00
piotrp
51eca0bcba
Refactoring test scripts
...
_nuget needs some RepoRoots
get the cats in line (d)
spaces
Fix Linux build breaks
add execution permissions
Pick up #999 Finish refactoring test scripts
remove auth
Reorder publishing to work!
fix rebase errors
fix more rebase errors
small fixes
2016-01-30 00:21:13 -08:00
Pranav K
4e365921f7
Merge pull request #1078 from dotnet/prkrishn/lastwritetimeutc
...
Switch to using File.LastWriteTimeUtc
2016-01-29 19:35:38 -08:00
Pranav K
be18ee31be
Switch to using File.LastWriteTimeUtc
2016-01-29 19:22:31 -08:00
Bryan
b8d54e5a0f
Fix Binding Redirect Test and other fixes
2016-01-29 17:37:08 -08:00
Andrew Stanton-Nurse
91c695458a
add source file to library publish test project
2016-01-29 12:31:23 -08:00
Pavel Krymets
35d6fc4477
Copy refs only on publish
2016-01-29 10:20:28 -08:00
Andrew Stanton-Nurse
91f229ea80
fix versions in packaged command consumer tests
2016-01-28 22:33:22 -08:00
Andrew Stanton-Nurse
1a6d5c9f5e
go to rel, do not pass go, do not collect $200
2016-01-28 22:33:19 -08:00
PiotrP
e792387d7a
Adjust imports to portable45
2016-01-28 10:55:22 -08:00
piotrp
6109e33455
test reference fix
2016-01-28 10:53:33 -08:00
piotrp
63d79b06b4
projectmodelserver
2016-01-28 10:53:31 -08:00
piotrp
5e72c88104
Rename test projects
2016-01-28 10:53:30 -08:00
David Fowler
096715e1a9
Fixed test
...
- There should not be a deps file for the full desktop case
2016-01-27 11:13:45 -08:00
David Fowler
4b80ff7490
Fixed the analyzer test
2016-01-27 11:13:45 -08:00
David Fowler
a35ae177ff
- Make all of the code looking for built assets use the OutputPathCalculator
...
- Project dependencies are always built into their specific folders and the main project is the only one that uses the output path and intermediate output path variable.
- Publish respects the output path for publish only, not compile as part of publish. This means that publishing multiple runtimes will stomp on each other. So don't do that. We can throw if you specify and output location and you haven't specified a specific combination of RID and framework. Alternatively it should probably just pick the first TFM/RID pair from the lock file. This is similar to how `dotnet run` works.
- Cleaned up the incremental build output formatting
- Use a single stream (output stream) since interleaving them was causing formatting issues (like losing random characters in the middle of outputting things).
- Didn't change how pack works, it still preserves the output structure when passing `--output`, this one is worth discussing. We could leave the build output inplace and only move the package to the output location. That's more consistent with how everything else works and can be a follow up PR.
2016-01-27 11:13:45 -08:00
piotrp
60450bd94a
Bump NETStandard.Library to 23727
2016-01-27 09:11:08 -08:00
piotrp
a66546d8fb
Maintain test artifacts
...
Improved test diagnostics
Providing diagnostics about failed process.
Workaround for https://github.com/NuGet/Home/issues/1977
get past crossgen errors!
2016-01-26 23:25:39 -08:00
Andrew Stanton-Nurse
066bebcc6c
bootstrap using nuget instead of dnx
2016-01-26 23:25:37 -08:00
Andy Gocke
75859c5dc0
Merge branch 'rel/1.0.0' into analyzer-support
2016-01-26 10:43:34 -08:00
Pavel Krymets
57030b4a96
Add test for desktop config generation
2016-01-25 09:30:02 -08:00
Andy Gocke
c716ad6571
Add analyzer support
...
With this change, any referenced analyzer project will be parsed by the
project system and the assemblies will be passed down to the compiler.
By default, the analyzer language is considered to be "cs". If another
language is used, the "languageID" option should be specified inside the
"analyzerOptions" section of the project.json file.
Resolves #83
2016-01-24 21:38:42 -08:00
Bryan
4c41c9699c
Last necessary test changes
...
Fix the refactoring bugs
fix restore
downgrade version of package command test
Linux Test Script Fixes
use corehost instead of corerun for arg testing
don't copy corehost
fix scripts
Account for change in publish path, use corerun. Issue with AppContext.BaseDirectory in corehost.
Case Sensitive Reflector
wait for process exit
Fix bug in runtests.ps1
fix release build output path
fixup bug in runtests.sh
2016-01-23 14:32:50 -08:00
Bryan
cd9e5e2f08
Make the move off of * dependencies
...
move tests back to 23704
name changed, feedback
2016-01-23 13:01:37 -08:00
Bryan
c727c513dc
Native fixes
...
project.json cleanup
Cleanup and Code Review Feedback
2016-01-23 13:01:36 -08:00
Bryan Thornbury
d1d23944df
Changes to fix publish tests
2016-01-23 13:01:34 -08:00
piotrp
9c5e520285
various fixes
2016-01-23 13:01:33 -08:00
Bryan
37445f053d
Test Changes to work with new Argument Escaping and Command Infra
2016-01-23 13:01:32 -08:00
Bryan
fce9666f37
Argument Forwarding Test Infrastructure
2016-01-23 13:01:29 -08:00
Piotr Puszkiewicz
47ae5faf37
Merge pull request #981 from cdmihai/skipFlakyTests
...
Skip flaky incremental tests
2016-01-22 19:18:07 -08:00
Mihai Codoban
a30695c3a2
Cleanup code
2016-01-22 16:21:49 -08:00
Mihai Codoban
cf10ebe84e
Skip flaky tests
2016-01-22 16:21:37 -08:00
Livar Cunha
fdea0b87e0
Making some of the testbase methods protected.
...
Renaming variables according to code review comments. Adding the folder logic to the builder tests. Creating a separate compilation folder during the build.
2016-01-22 15:22:45 -08:00
Livar Cunha
ac2d0e36a9
Changing multiple dotnet commands to be aware of $configuration/$tfm folder structure under the --output path option.
...
Changing the build scripts to copy files over from debug\dnxcore and to check for the folders existence before trying that.
Making the build command aware of the subfolders and making E2E tests aware of subfolders.
Fixing compiler tests to look for the xml in the right plae taking into consideration the configuration and tfm.
Modifying publish tests to not take into consideration the runtime. This is a temporary change. will bring it back once the commands all understand rid.
Making the packaging step work by placing binaries where dotnet pack expects.
2016-01-22 15:22:44 -08:00
Bryan
e6a58df9ca
fixup Additional references which bring in the new System.Runtime.Extensions
2016-01-21 17:37:06 -08:00
Mihai Codoban
45c305e5a2
Disambiguate the intermediate directory
...
Parallel test runs were racing on the same response file in the common
intermediate directory.
Each builder test now has it's own intermediate directory
2016-01-20 16:07:25 -08:00
Mihai Codoban
3a8ef0f5e9
Add Tests for incrementality
2016-01-20 16:07:12 -08:00
Andrew Stanton-Nurse
4834f836df
force TestHost to stay in rc2 land
2016-01-20 10:45:21 -08:00
David Fowler
7972586c31
Steps to boostrapping with NuGet
...
- Fixed a bunch of dependencies that was causing dotnet restore to fail on the CLI
- Added imports to `project.json` so that `dotnet-restore` works
- Fixed a bunch of dependency issues in different projects
- Ironically, running `dotnet restore` on the dotnet-restore project still fails (will fix in another commit). Looks like it might be a nuget issue
2016-01-20 18:15:07 +00:00
Andrew Stanton-Nurse
3d493f7d9d
switch from DNX to cross-plat NuGet!
2016-01-19 11:43:09 -08:00
Troy Dai
479a81a576
Update message sequences of ProjectModel server
...
Send References ahead of Dependencies
2016-01-15 20:03:29 -08:00
Troy Dai
68c0edff17
Enable to initialize a project before restore
...
1. Check the lock file path first.
2. Update tests
2016-01-15 16:05:18 -08:00
Andrew Stanton-Nurse
e27c583443
allow use of compilationOptions.nowarn to suppress warnings.
...
fixes #576
2016-01-14 15:45:43 -08:00
Pavel Krymets
82013acbb2
Merge pull request #815 from dotnet/pakrym/dllconfig
...
Add support for .config file generation for test projects
2016-01-14 13:51:35 -08:00
Pavel Krymets
b02dbc45f4
Add support for .config file generation for test projects
2016-01-14 12:23:26 -08:00
Troy Dai
ce3e719a06
Update ProjectModel server
...
1. Rebase on new LibraryExporter
2. Update dependency name to "fx/<name>" for reference assembly
3. Update framework friendly name
4. Fix dependency message regression
5. Update tests
2016-01-14 10:11:31 -08:00
Troy Dai
32e7f3bc7a
Fix test build break
2016-01-13 10:28:33 -08:00
Piotr Puszkiewicz
1e423d4f1b
Merge pull request #798 from piotrpMSFT/piotrpMSFT/issue797/emptyNuget
...
Fix empty NuGets
2016-01-13 00:32:02 -08:00
piotrp
2ef4f6f0bf
Fixing clashing dependencies that only exhibited once we started publishing nupkg-only projects.
2016-01-12 14:32:54 -08:00
Mihai Codoban
bedeaaf2dc
Compile incrementally
...
- Clone the args in the CompileContext constructor to bring uniformity
to the way args are accessed
- Compute IO for a project and have it shared between build and compile
- Extract dependency logic into facade
- Add tests for incremental build
- Add precondition checks for compiler IO
add --force-incremental-unsafe flag
2016-01-12 13:16:52 -08:00
moozzyk
0e4719ee95
Adding pre/post publish scripts
...
Fixes #742
2016-01-12 09:41:59 -08:00
piotrp
5cd64066c4
Packaged Commands
2016-01-09 16:50:31 -08:00
Andrew Stanton-Nurse
78cef18e1c
add support for generating xml documentation
...
fixes #312
2016-01-08 14:02:41 -08:00
Andrew Stanton-Nurse
02d28537f8
clean up E2E test xprojes
2016-01-08 10:09:32 -08:00
Andrew Stanton-Nurse
f4df12f2e2
add proper RID detection based on PlatformAbstractions
2016-01-08 10:07:58 -08:00
Bryan
17176edb80
Remove StreamForwarder Tests from E2E
2016-01-06 15:30:56 -08:00
Sridhar Periyasamy
2ebb28819e
Enable running tests for CentOS
...
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066 .
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
Bryan
7425691fe6
Fixup some Usings Statements. Remove SkipForOS function in favor of ActiveIssue
2016-01-05 16:05:43 -08:00
Bryan
18d17ce8c5
End to End Test Refactoring. Build upon Publish Test Infrastructure and add
...
capability for further testing.s enter the commit message for your changes. Lines starting
2016-01-05 13:40:33 -08:00
Bryan Thornbury
892c393509
Assert StdErr is empty for E2E Test
...
This is a quick fix to improve test diagnosability with the E2E Test.
We see situations where the output executable fails and we are left without any error output.
This addition should output any stderr output from the output executable.
cc @piotrpMSFT
2016-01-04 12:56:22 -08:00
David Fowler
4b07b2d034
Project model server cleanup
...
- Removed unused message types
- Removed intermediate ProjectInfo and ProjectState types
- Renamed Snapshot to ProjectSnapshot and ProjectSnapshot to ProjectContextSnapshot
- Exposed Project on ProjectContextCollection
- Removed AllDiagnostics message since it won't be used
- Renamed ProjectContextManager to ProjectManager
- Create project context snapshot in one pass
- Create project contexts lookup inline
- Consistent naming of payloads
2016-01-03 00:34:00 -08:00
Bryan
2cd6a97b0b
Add NuGet.config to TestProjects. This resolves VSO build failures.
2015-12-29 14:41:26 -08:00
Piotr Puszkiewicz
d1a257bff7
Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
...
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
935cd4e281
Add ProjectModel server
2015-12-25 13:23:29 -08:00
Enrico Sada
d52bc92155
add command dotnet-compile-fsc
...
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00