Commit graph

3141 commits

Author SHA1 Message Date
Adam Gorman
42324ab9da Removing accidental duplicate code 2016-05-03 11:11:31 -07:00
Adam Gorman
702a44efc3 whitespace cleanup 2016-05-03 11:11:31 -07:00
Adam Gorman
2d73e3b535 Fixing inconsistencies that made build impossibe. 2016-05-03 11:11:31 -07:00
Adam Gorman
ba13586b1c Offloaded more work to Task
Removed all unnecesary code if opted out of telemetry.
Shanged sample rate to 1 for testing purposes.
CI to just regular Test
Changed hash helper function to handle a list<string> to optimize unneceary duplicate sha256 creation
Reduced new memory allocations
2016-05-03 11:11:31 -07:00
Adam Gorman
4b905ae2bd Reducing Telemetry performance delay
Added telemetry timeout
Added SHA256 hashed arguments
Added Continous Integration flag
Added variable rate sampling
Removed ExitCode from telemetry
2016-05-03 11:11:31 -07:00
PiotrP
3c2459afa2 net451 build issue 2016-05-03 10:37:29 -07:00
PiotrP
84f10f58e9 Remove FixTimeStamp as https://github.com/dotnet/corefx/issues/6083 seems to be fixed. 2016-05-03 10:37:29 -07:00
PiotrP
44f6642116 Rebase Conflicts 2016-05-03 10:37:29 -07:00
PiotrP
91bfc022a2 PR Feedback 2016-05-03 10:36:48 -07:00
Piotr Puszkiewicz
304434433b Feature Complete
- Add remaining test scenarios
- Refactor implementation
- Add gitignore entry for optimization profiles
2016-05-03 10:36:48 -07:00
Piotr Puszkiewicz
94e620088e Test Infrastructure Updates
Creates a TestDirectory abstraction under TestInstance to manage creation of test-specific working directories
Enables TestAssetManager to create TestDirectory instances
Enables fluent addition of Environment Variables to TestCommand
Adds PathUtility support for ensuring a directory exists
2016-05-03 10:36:05 -07:00
PiotrP
6c1ef959cc WiP 2016-05-03 10:36:05 -07:00
Pavel Krymets
eb32a40ea2 Deduplicate libraries 2016-05-03 09:54:50 -07:00
Eric Erhardt
4f1dbeba0e Merge pull request #2769 from eerhardt/FixBuiltInCommandTests
Fixing BuiltInCommandTests so it doesn't fail sporatically.
2016-05-03 10:31:52 -05:00
Peter Marcu
05d0dcebc1 Merge pull request #2834 from dotnet/davidfowl/placeholders
Fix placeholder resolution logic
2016-05-03 08:15:19 -07:00
Peter Marcu
92d9c2179d Add Official Build Links
Add Official Build Links to Badges
2016-05-03 08:11:02 -07:00
David Fowler
90bc89ed67 Fix placeholder resolution logic 2016-05-03 02:00:12 -07:00
Senthil
bf8f0edd89 Resolve hostpolicy out of package graph for servicing
* Resolve hostpolicy out of package graph for servicing
2016-05-03 00:05:56 -07:00
Andrew Stanton-Nurse
08c4aae6a9 trim build dependencies from output 2016-05-02 19:51:12 -07:00
Daniel Podder
afa471cde3 Add script to run and compare CLI perf tests (#2746)
* Add script to run and compare CLI perf tests

tests/Performance/run-perftests.py is a Python3 script that fetches all
of the dependencies needed to run the perf tests in test/Performance
locally. It can run the perf tests for a single dotnet.exe, or run two
dotnet.exe instances sequentially and compare the results between them.

Basic usage for a single test:
  run-perftests.py --name "runid" ...\dotnet.exe

Usage for a comparison run:
  run-perftests.py --name "runid" ...\dotnet.exe --base ...\dotnet.exe

For more detailed usage:
  run-perftests.py -h

* run-perftests: fix publish xunit.perf.runner.cli

The code that builds xunit-performance would skip publishing
Microsoft.DotNet.xunit.performance.runner.cli due to a bug in the
condition to check whether it was published already or not. To fix the
issue and simplify the logic, I'm making it always publish when
building the project, instead of building and publishing separately.

* run-perftests: add support for python2

* run-perftests.py: fix framework version issue

The perf test harness was failing with "stage 0" binaries due to an issue
finding the correct installed framework version. The fix is to delete the
project.lock.json followed by a dotnet restore before each run, using the
dotnet.exe that is about to be tested. (Kudos to @brianrob for the debugging
help and suggested fix!)
2016-05-02 17:07:10 -07:00
Eric Erhardt
16b996f25b Fixing the BuiltInCommandTests to not mutate global shared state.
The BuiltInCommandTests sets the current Console.Out and Console.Error, which causes the test to fail if some other test is running and writes to the console at the same time.

Fix #2768
2016-05-02 19:02:22 -05:00
Eric Erhardt
9a85205781 Merge pull request #2792 from eerhardt/Relative
Execute 'csc' with working directory set to the project directory.
2016-05-02 18:53:57 -05:00
Sridhar Periyasamy
9142ad79bb Setup the registry keys for CLI bundle detection.
Fixes - #2588
2016-05-02 16:31:30 -07:00
Ajay Bhargav Baaskaran
d6d103262d Fix: builtIn defaults are not used when builtIn is not specified 2016-05-02 14:21:02 -07:00
Sridhar Periyasamy
2d49e5f25d Merge pull request #2764 from Sridhar-MS/msi-filesinuse
Windows Installer fix for showing correct apps in 'File in Use' dialog.
2016-05-02 13:31:52 -07:00
Ajay Bhargav Baaskaran
241175dcc3 Merge pull request #2798 from dotnet/ajbaaska/add-warnings
Added missed warnings for deprecated schema
2016-05-02 13:24:55 -07:00
Ajay Bhargav Baaskaran
a4487db949 Added missed warnings for deprecated schema 2016-05-02 13:22:42 -07:00
Eric Erhardt
d52ea07934 Fixing dotnet-compile and dotnet-test unit tests. Also, fixing a potential NullRef in ProjectContext.
The compile unit test needed to be updated to mock out a new call to ICommand.WorkingDirectory.

The test unit test needed to account for build-base-path getting fully qualified.
2016-05-02 14:39:09 -05:00
Sridhar Periyasamy
b35ba10ec3 Change the host MSI dependency key for correct reference counting.
Earlier the host MSI dependency key changed for every version. Therefore
the following stesp uninstalled host aggresively.
- Install a older dotnet CLI bundle (say v1)
- Install a newer dotnet CLI bundle (say v2)
- Uninstall the newer CLI bundle. This removes the host completely and
  leaves the older version v1 unusable.

With this fix all the versions of the CLI in the machine will reference
count the host correctly.

Fixes - #2713
2016-05-02 12:13:26 -07:00
Piotr Puszkiewicz
c907d52451 Merge pull request #2809 from eerhardt/UpdateNuGet
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Sridhar Periyasamy
8567302d4a Merge pull request #2770 from Sridhar-MS/msi-2743
Fix bug to install x64 and x86 SxS.
2016-05-02 11:39:28 -07:00
Troy Dai
f32683cbab refactor WorkspaceContext (#2736)
this removes a regression in ProjectModelServer behavior

also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Piotr Puszkiewicz
2e22c3ac4b Merge pull request #2816 from sokket/installers
Pushing latest sfx and installers on Finalize
2016-05-02 11:29:36 -07:00
Pavel Krymets
18f9018eb9 Merge pull request #2812 from dotnet/pakrym/is-package-based
Remove IsPackageBased() workaround
2016-05-02 11:16:43 -07:00
Pavel Krymets
5d164b5a2f Merge pull request #2757 from dotnet/pakrym/shared-refs
Trim non split assemblies from published `refs` folder.
2016-05-02 11:14:20 -07:00
Jonathan Miller
6f435c0047 Fixing bug where installers and sfx wouldn't be pushed to latest 2016-05-02 10:54:01 -07:00
Piotr Puszkiewicz
5adc31ca17 Merge pull request #2813 from sokket/publish
Fixing semaphore locking during build finalization
2016-05-02 10:39:45 -07:00
Eric Erhardt
6249829e68 Fix build-base-path to be converted to a full path.
This allows commands to run in different working directories and pass around the full path to the build-base-path, instead of a relative path.
2016-05-02 12:21:12 -05:00
Jonathan Miller
7fb7a122c4 Fixing semaphore locking during build finalization 2016-05-02 10:12:04 -07:00
Jonathan Miller
222df674bf Fixing semaphore locking during build finalization 2016-05-02 09:54:10 -07:00
Pavel Krymets
c9764bb1e1 Remove IsPackageBased() workaroung 2016-05-02 09:41:29 -07:00
Pavel Krymets
dc249cb94b Move efs to shared runtime 2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced Updating NuGet references from beta to rc. 2016-05-02 09:29:51 -05:00
Piotr Puszkiewicz
ac5432bff2 Merge pull request #2805 from dotnet/piotrpMSFT/AzurePublisher
Piotrp msft/azure publisher
2016-05-02 01:04:50 -07:00
Piotr Puszkiewicz
638fcf25fc Fix Publish Delete, ReleaseLease URLs 2016-05-02 01:03:31 -07:00
Piotr Puszkiewicz
0bfd94e998 Fix install-dotnet.sh to deal with trailing newline 2016-05-02 00:52:21 -07:00
Eric Erhardt
f2d917ed2e Execute 'csc' with working directory set to the project directory.
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.

Fix #2710
2016-05-01 22:46:03 -05:00
Piotr Puszkiewicz
2827ef208a Merge pull request #2804 from dotnet/piotrpMSFT/AzurePublisher
Azure Publisher: TryDeleteBlob
2016-05-01 20:14:42 -07:00
Piotr Puszkiewicz
d9d6cbd6f1 TryDeleteBlob
Builds are currently failing because we try to delete blobs that don't exist. This change logs & ignores the exception.
2016-05-01 19:54:06 -07:00
Pranav K
011b5590d7 Merge pull request #2797 from dotnet/prkrishn/update-runner
Updating to latest dotnet-test-xunit
2016-04-30 19:40:22 -07:00