Commit graph

128 commits

Author SHA1 Message Date
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