Commit graph

88 commits

Author SHA1 Message Date
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
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Gaurav Khanna
0b2a6fee2e Pickup headers from ILCompiler.SDK
Add support for --cppcompilerflags switch to enable passing custom native compiler arguments.
2015-12-23 08:51:20 -08:00
Sridhar Periyasamy
3395b43bd9 Merge pull request #508 from Sridhar-MS/publish-tests2
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Bryan Thornbury
e8a7228feb Dotnet pack test
Enable Dotnet Pack Test..

Not sure why this method didn't have a fact attribute. Thanks for pointing this out @krwq
2015-12-18 11:34:55 -08:00