Commit graph

1414 commits

Author SHA1 Message Date
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
Sergei Vorobev 99a55b7a72 Fix #528 : make powershell.exe build with VS 2015
Add legacy_stdio_definitions.lib to the list of linked assemblies
2016-03-15 13:06:26 -07:00
Sergei Vorobev 1920243165 Update git-101.md
add link to http://justinhileman.info/article/git-pretty/ [skip ci]
2016-03-15 11:35:51 -07:00
Sergei Vorobev 8878878b3c Update git-101.md
Add info about sync scenario [skip ci]
2016-03-15 11:33:14 -07:00
Sergei Vorobev c4a42a86f1 Update CONTRIBUTING.md
add information about branch names [skip ci]
2016-03-15 11:25:58 -07:00
Sergei Vorobev 781812e263 Update CONTRIBUTING.md
Remove duplicates from docs/git-*.md, add references.
2016-03-15 11:06:52 -07:00
Sergei Vorobev c64e058c40 Create git-101.md
This file contains:

- Install info
- Our favorite tutorials references 
- (Potentially) any general notes about git that we may want to include here
2016-03-15 11:01:09 -07:00
Sergei Vorobev b586f74176 Update and rename OperationalNotes.md to git-commit.md
Use git-* pattern for notes
2016-03-15 10:52:35 -07:00
Sergei Vorobev 29ce5f0633 Update CONTRIBUTING.md
Add reference to git-sd.md [skip ci]
2016-03-14 17:50:23 -07:00
Sergei Vorobev e9e4b6e4c7 Update CONTRIBUTING.md
Add section about Microsoft employees [skip ci]
2016-03-14 17:25:57 -07:00
Andy Schwartzmeyer bd241c04a6 Merge pull request #662 from PowerShell/new-packages
Update .NET packages to build 23914
2016-03-14 17:25:31 -07:00
Sergei Vorobev 5d776a8cdb Update git-sd.md
Add link to MS OSS Hub [skip ci]
2016-03-14 17:15:14 -07:00
Andrew Schwartzmeyer 3eeda101c3 Bump NETStandard.Library to 1.5.0-rc2-23911
The rc3-23914 version does not restore `System.Private.Uri` correctly,
but this version does. Bug reported to dotnet/corefx#6883.
2016-03-14 17:03:58 -07:00
Andrew Schwartzmeyer 9bd361abe1 Bump .NET package builds to 23914 2016-03-14 16:55:25 -07:00
Andrew Schwartzmeyer 447b3ef729 Update xUnit runner to netstandardapp1.5
This was enabled in dotnet/coreclr.xunit#12
2016-03-14 16:51:49 -07:00
Andrew Schwartzmeyer 830c6b50d2 Fix runtime facade package versions
These packages had their semantic versions get updated, but the
corresponding packages in the facade were forgotten.
2016-03-14 16:51:05 -07:00
Sergei Vorobev 107bb8bcb1 Create git-sd.md
Add some information for sd users about starting with git. [skip ci]
2016-03-14 15:06:30 -07:00
Andy Schwartzmeyer c541b2bc21 Merge pull request #659 from PowerShell/appcontext
Fix AppContext.BaseDirectory when remoting
2016-03-14 13:54:50 -07:00
Andrew Schwartzmeyer 5901e70dd0 Revert work-around in Json.Tests.ps1
This resolves #627.
2016-03-14 13:39:32 -07:00