Commit graph

388 commits

Author SHA1 Message Date
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
Piotr Puszkiewicz
732f3d7abd Merge pull request #1364 from dotnet/anurse/update-to-23811
update everyone to 23811
2016-02-11 12:40:56 -08:00
Andrew Stanton-Nurse
8534bb8747 turn echo off off 2016-02-11 11:33:32 -08:00
Andrew Stanton-Nurse
19216b996b update crossgen scripts 2016-02-11 11:03:50 -08:00
Pranav K
ed1177a664 * Add support for specifying a version in obtain/install 2016-02-11 10:47:49 -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
Sridhar Periyasamy
d18ff2f421 Update publish.ps1
Some bug fixes to upload the bundle correctly to the blob storage.
2016-02-10 16:41:15 -08:00
Sridhar Periyasamy
56e3d8f903 Upload bundles instead of MSI 2016-02-10 13:06:48 -08:00
Eric Erhardt
74d8051f79 Bump CoreFx to rc2-23810 2016-02-10 13:50:28 -06: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
Pavel Krymets
5c3bc7f340 Merge pull request #1321 from dotnet/pakrym/package-fix
Fix location for package signing
2016-02-09 14:38:31 -08:00
Pavel Krymets
9c9c726d82 Fix location for package signing 2016-02-09 14:17:48 -08:00
Eric Erhardt
784f5679bf Rename E2E test to EndToEnd. 2016-02-09 15:12:25 -06:00
Eric Erhardt
6dc9a49f0e Fix package-command tests failing on Windows.
We have a hard-coded "Debug" string in our restore-tests.ps1.
2016-02-09 14:40:46 -06:00
Pavel Krymets
0f82ae37f3 Refactor output directory code 2016-02-09 08:52:59 -08:00
Eric Erhardt
4908436958 Merge pull request #1261 from eerhardt/TestDirectory
Test directory refactoring step 1.
2016-02-08 21:36:29 -06: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
Eric Erhardt
a3ab4d16d1 Fix the package cache on CI on Unix.
On the CI machines, the $HOME variable is redirected to the artifacts folder, which is under the repo root. The package cache is using $HOME. Thus between runs, the cache is removed.

To fix this, change the package cache on CI runs to be outside of the repo.
2016-02-08 17:50:52 -06:00
Eric Erhardt
168bfc6778 Merge pull request #1262 from eerhardt/FixCentOS
Fix CentOS on the latest .Net Core.
2016-02-05 20:56:45 -06:00
Eric Erhardt
1f8c139cec Fix CentOS on the latest .Net Core.
The latest .Net Core renamed the RID of the 'centos' packages to 'rhel'.  Migrating our scripts to use this name.
2016-02-05 20:13:35 -06:00
Livar Cunha
2d55c145e9 We still having issues when passing configuration to dotnet tests. This change makes dotnet build of tests and dotnet test commands always use debug build. We have issues #1267 and #1268 tracking fixes for this problem 2016-02-05 18:08:33 -08:00
Bryan Thornbury
bf5a466a03 fix slash in run_tests 2016-02-05 15:40:50 -08:00
Piotr Puszkiewicz
0863e02b52 Merge pull request #1253 from dotnet/piotrpMSFT/dotnet-testConfiguration
dotnet-test -c
2016-02-05 14:21:12 -08:00
Eric Erhardt
a7e9ee52c9 Update to .Net Core rc2-23805 2016-02-05 15:53:23 -06:00
Piotr Puszkiewicz
f51b9fb337 enable passing config to dotnet-test 2016-02-05 13:26:12 -08:00
Eric Erhardt
afc0d45e2e Merge pull request #1242 from eerhardt/NuGetCache
Cache NuGet packages on our CI server between builds.
2016-02-05 11:19:58 -06:00
Eric Erhardt
617af759ae Cache NuGet packages on our CI server between builds.
Currently on our CI builds, we point our NuGet cache under the repo. In between builds the repo gets deleted, thus the cache is lost.

This change moves the cache to %userprofile%\.nuget\packages on CI and dev boxes.  On CI, we expire the cache after a day by default.
2016-02-05 10:34:20 -06:00
Livar Cunha
64f89c990a Making the tests build without tfm, rid or configuration, because dotnet test does not understand those. that means that if we build for release and then do a dotnet test, the test will fail because dotnet test will look for binaries under debug/tfm. 2016-02-04 18:03:33 -08:00
Sridhar Periyasamy
17244b15c6 Update package.sh
Fix typos. This is failing the VSO CI builds.
2016-02-04 15:46:58 -08:00
Andrew Stanton-Nurse
bdce3f53f5 Merge pull request #1228 from dotnet/anurse/sync-install-script-params
sync install script params with PowerShell a bit
2016-02-04 14:33:44 -08:00
Bryan Thornbury
be4629a6a6 Merge pull request #1187 from dotnet/brthor/test_env_var
Add back Test Env Var so tests are published to the artifacts folder.
2016-02-04 11:58:14 -08:00
Andrew Stanton-Nurse
7ecb46fa55 sync install script params with PowerShell a bit 2016-02-04 09:58:26 -08:00
Livar Cunha
e618ff091f Making the test scripts work with dotnet test. 2016-02-03 17:07:55 -08:00
Senthil
8cb1e93d78 Merge pull request #1207 from schellap/relfix
Port native fixes
2016-02-03 16:33:11 -08:00
Senthil
102f11e65b Port native fixes 2016-02-03 14:49:31 -08:00
Zlatko Knezevic
c124b2d79a Responding to PR feedback, adding the OS names 2016-02-03 09:46:45 -08:00
Zlatko Knezevic
810e66b8fd Responding to PR feedback.
Modified the .gitignore also to exclude vim swap files.
2016-02-03 09:46:45 -08:00
Zlatko Knezevic
ae78068481 Changing the implementation from using shields.io to
using a local SVG file and doing replace. One less network hop.
2016-02-03 09:42:57 -08:00
Zlatko Knezevic
4f2a8aeaf9 Responding to PR feedback 2016-02-03 09:42:57 -08:00
Zlatko Knezevic
95f059697f Add version badges generation to build
Add version badge generation using shields.io service. The badge
is uploaded to a fixed Azure BLOB location which can be referenced
from README.md. Since the badge creation is not crucial, do not fail the build
if it cannot be created.

Fix #1000
2016-02-03 09:42:57 -08:00
David Fowler
73f7550b98 Pin versions and restore less
- Should speed up the build
2016-02-02 23:03:12 -08:00
piotrp
26ee0d8ddd fix paths 2016-02-02 14:55:18 -08:00
Bryan Thornbury
a5ff1e64ef Add back Test Env Var so tests are published to the artifacts folder. 2016-02-02 14:55:18 -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
1e703575d2 Fixed native compile 2016-02-01 15:54:18 -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
f4bf77044b update paths to generated nuget packages 2016-02-01 12:52:42 -08:00