Commit graph

1864 commits

Author SHA1 Message Date
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
Andy Schwartzmeyer
9f868965af Merge pull request #688 from PowerShell/travis-module
Use Start-PSBuild on Travis
2016-03-17 13:09:29 -07:00
Andrew Schwartzmeyer
b89a908e57 Build on Travis using PowerShell build module 2016-03-17 12:47:43 -07:00
Andrew Schwartzmeyer
412709c619 Bump Travis CI version to 1675
The latest in the feed, per the readme.
2016-03-17 12:47:43 -07:00
Andrew Schwartzmeyer
934304c17d Add download script to obtain PowerShell release
This requires that $GITHUB_TOKEN be set. Travis sets this as a secure
environment variable; a user can provider their own.
2016-03-17 12:47:43 -07:00
Andy Schwartzmeyer
b579730be6 Merge pull request #681 from PowerShell/vors/readme
Add a note about VC++ in README.md
2016-03-16 23:58:38 -07:00
Andrew Schwartzmeyer
38a53d68b4 Improve readme 2016-03-16 23:49:26 -07:00
Sergei Vorobev
b9283d04cc Add a note about VC++ in README.md 2016-03-16 17:23:52 -07:00
Andy Schwartzmeyer
cbd1459fc9 Merge pull request #649 from PowerShell/colon-drive
Bump submodule version to include the new behavior for Drive:
2016-03-16 10:34:43 -07:00
James Truher [MSFT]
17d545b1e0 Bump submodule version to include the new behavior for Drive: 2016-03-16 10:27:22 -07:00
Andrew Schwartzmeyer
6e98692827 Revert "Update README.md"
This reverts commit 0908997a8e.

Fixes #675
2016-03-15 21:14:58 -07:00
Sergei Vorobev
cd2b0dbb7b Merge pull request #672 from PowerShell/vors/vs2015
Fix #528 : make powershell.exe build with VS 2015
2016-03-15 15:36:43 -07:00
Sergei Vorobev
cd3b0a02cb Update README.md to use Visual Studio 2015 2016-03-15 13:24:32 -07:00
Sergei Vorobev
9091d58bb7 Set AppVeyor image to Visual Studio 2015 2016-03-15 13:22:47 -07:00