Commit graph

1827 commits

Author SHA1 Message Date
Sergei Vorobev cec1f8d4d0 Merge pull request #731 from PowerShell/vors/simplify
Prepare project.json files for mapping from submodule
2016-03-22 16:45:18 -07:00
Sergei Vorobev f7c7a1a38e Simplify Microsoft.PowerShell.ConsoleHost/project.json 2016-03-22 15:32:29 -07:00
Sergei Vorobev 0db07f8435 Remove ConvertFrom-String cmdlet from build (see #726) 2016-03-22 15:29:19 -07:00
Andy Schwartzmeyer 586e2c0e7d Merge pull request #729 from PowerShell/eventing
Add Microsoft.PowerShell.CoreCLR.Eventing project
2016-03-22 15:10:12 -07:00
Sergei Vorobev f742cad860 Bump submodule version to include !NOETW guards 2016-03-22 14:20:57 -07:00
Sergei Vorobev b73e6da8e8 Add Microsoft.PowerShell.CoreCLR.Eventing project 2016-03-22 13:42:22 -07:00
Sergei Vorobev e0a4363ca3 Bump submodules versions to include ETW changes 2016-03-22 13:37:43 -07:00
Sergei Vorobev 725525a747 Move NOETW define from framework to configuration
In System.Management.Automation we want to build ETW events
for CORECLR on windows
2016-03-22 13:36:41 -07:00
Andy Schwartzmeyer 2666316193 Merge pull request #728 from PowerShell/fix-xunit
Re-enable xUnit on Travis
2016-03-22 13:31:47 -07:00
Andrew Schwartzmeyer ef91bf76d0 Revert "Disable xUnit tests on Travis"
This reverts commit a7e6a946b7.

Resolves #727.
2016-03-22 12:21:32 -07:00
Andrew Schwartzmeyer 75acfaeb88 Bump .NET Core packages to build 23922 2016-03-22 12:21:15 -07:00
JumpingYang001 8141baaa47 Add comparison operator tests for #219 2016-03-22 01:17:22 -07:00
Sergei Vorobev ee932fdd24 Merge pull request #723 from PowerShell/vors/guards
Bump submodule version to include fix for #722
2016-03-21 18:19:15 -07:00
Sergei Vorobev a2e5ea34e1 Bump submodule version to include fix for #722 2016-03-21 17:39:23 -07:00
Andy Schwartzmeyer 20935f6d02 Merge pull request #719 from PowerShell/platform-specific
Upgrade .NET Core packages
2016-03-21 15:54:00 -07:00
Andrew Schwartzmeyer d5d0d29cf9 Fix use of install.ps1 on AppVeyor
Resolves #718.

The 1.0.0 builds are no longer in the "beta" channel.

Update version to 1888.
2016-03-21 14:31:41 -07:00
Andrew Schwartzmeyer a7e6a946b7 Disable xUnit tests on Travis
The .NET Core xUnit runner is incompatible with build 23921. We have to
disable running the tests until dotnet/cli#1975 is resolved.
2016-03-21 14:31:41 -07:00
Andrew Schwartzmeyer 78defa739d Update CorePsTypeCatalog 2016-03-21 14:31:40 -07:00
Andrew Schwartzmeyer f904be118b Update runtime facade 2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 3e5dc14014 Downgrade packages from rc3 to rc2
Since 'rc3' is 'vnext', not just closer to the actual release.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 4c13f22216 Bump .NET packages to build 23921
- Bumps NETStandard.Library to 1.5.0-rc3, fixes #663.
- Remove reference to Unsupported.Platform.API, fixes #639.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer deba3a516c Stop deploying ps1xml files for xUnit 2016-03-21 14:14:58 -07:00
Andy Schwartzmeyer 8c67f6ca6f Merge pull request #711 from PowerShell/PesterTest_Temp
Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object  #535 #479 #474
2016-03-21 10:30:15 -07:00
TingLiu6 25f8d334d6 Modify Pester Test for Get-PSBreakpoint 2016-03-20 22:04:08 -07:00
Andy Schwartzmeyer 8313aaa418 Merge pull request #695 from PowerShell/NativeLinuxCommandsTest
Add Pester tests for calling native Linux commands for #138
2016-03-18 19:39:09 -07:00
Sergei Vorobev dc438f2525 Merge pull request #698 from PowerShell/vors/msbuild
Remove explicit msbuild requirement
2016-03-18 12:10:47 -07:00
Sergei Vorobev 0cb76a9a09 Remove explicit msbuild requirement
Fix #684
We already require VS 2015 installation.
Grab msbuild automatically from .NET framework folder.
2016-03-18 12:01:18 -07:00
Andy Schwartzmeyer 87098e7b34 Merge pull request #693 from PowerShell/remove-ps1xml
Merge Source Depot changes
2016-03-18 11:01:00 -07:00
Andrew Schwartzmeyer 4af3564aba Stop deploying ps1xml files
Note that we leave the ps1xml file parsing code alone in monad, as
third-party code may use the InitialSessionState interfaces directly and
thus ask for these files to be parsed. The removal of these files is a
pure performance work-around, where instead of parsing the XML, a
pre-parsed C# version of the file is loaded.
2016-03-18 09:46:23 -07:00
Andrew Schwartzmeyer 08c67aa2bb Bump monad and windows-build submodules 2016-03-18 09:46:23 -07:00
TingLiu6 6be57a0b5c Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object 2016-03-18 02:30:26 -07:00
JumpingYang001 bf80880b51 Update Pester test for calling native Linux commands for isssue 138 2016-03-18 00:23:57 -07:00
Andy Schwartzmeyer 3d967c33ec Merge pull request #697 from PowerShell/RemoveModuleTest
Add Pester test for Remove-Module for #536
2016-03-18 00:11:55 -07:00
Andy Schwartzmeyer 4ebb4f6384 Merge pull request #694 from PowerShell/GetProcessTest
Add Get-Process Pester test for #147
2016-03-18 00:02:35 -07:00
JumpingYang001 2836fe3714 Add Pester test for Remove-Module 2016-03-17 23:50:23 -07:00
JumpingYang001 89a6b8c1b5 Add Get-Process Pester test for issue 147 2016-03-17 23:49:09 -07:00
Andy Schwartzmeyer 412681ad7c Merge pull request #687 from PowerShell/SessionStateInternalTest
Add unit test for SessionStateInternal.Drives() about issue 64
2016-03-17 23:36:39 -07:00
JumpingYang001 73fa64c350 Add Pester tests for calling native Linux commands for issue 138 2016-03-17 22:48:35 -07:00
JumpingYang001 c460e52043 Update test fix for test_SessionState.cs 2016-03-17 20:18:29 -07:00
Andrew Schwartzmeyer 1665d6c525 Add SessionStateTests to AssemblyLoadContext collection 2016-03-17 19:11:41 -07:00
JumpingYang001 c42258cfac Add SessionStateInternal.Drives() xUnit test
Resolves #64
2016-03-17 19:10:23 -07:00
Andy Schwartzmeyer ed14e45b94 Merge pull request #690 from PowerShell/travis-xunit
Run xUnit tests on Travis
2016-03-17 18:32:28 -07:00
Andrew Schwartzmeyer 60ef5cd58d Add xUnit tests readme 2016-03-17 18:20:05 -07:00
Andrew Schwartzmeyer 6d93a1766b Add all classes to AssemblyLoadContext collection
To ensure that the initializer is called before any other code. This is
as close to a global init hook as I can find.
2016-03-17 18:15:39 -07:00
Andrew Schwartzmeyer b820817c84 Fix AssemblyLoadContext fixture
Resolves #676.
2016-03-17 17:36:06 -07:00
Andrew Schwartzmeyer 6ec3dc308e Build Linux configuration for xUnit tests 2016-03-17 17:18:01 -07:00
Andrew Schwartzmeyer 41260dd9c8 Run xUnit tests on Travis 2016-03-17 17:13:16 -07:00
Andrew Schwartzmeyer 79a9294379 Enable exit code from xUnit runner 2016-03-17 17:12:54 -07:00
Andy Schwartzmeyer d7a2ba713e Merge pull request #689 from PowerShell/throw-error-code
Fix powershell -c 'throw error'
2016-03-17 13:55:40 -07:00
Andrew Schwartzmeyer 1457082fd0 Fix powershell -c 'throw error'
When executing a single command block, two bugs existed.

1) Exceptions were not reported, instead it core dumped
2) The error code was not set, instead 0 was returned

Fixing 1) required calling `Execute` instead of `ExecuteHelper` as the
latter handles exception through `ReportException`.

Fixing 2) required setting the listener's error code when an exception
was thrown, and resetting it for each command when an interactive
session is running.
2016-03-17 13:32:10 -07:00