Andrew Schwartzmeyer
dc9b4c595d
Fix xUnit tests for Linux
...
The latest xUnit packages fix the "could not resolve coreclr path"
problem we were having. To resolve all dependencies, the cli-deps feed
was replaced with the aspnet feeds.
However, the latest xUnit packages do not allow us to set the default
AssemblyLoadContext.
2016-04-14 18:06:57 -07:00
Andy Schwartzmeyer
9496106637
Merge pull request #830 from PowerShell/UnitTest_Temp
...
Add Unit test for Set-PSBreakpoint
2016-04-14 11:49:08 -07:00
Andy Schwartzmeyer
df6d558fee
Merge pull request #848 from PowerShell/andschwa/try-osx
...
Enable OS X tests on Travis
2016-04-14 11:45:26 -07:00
Andrew Schwartzmeyer
50093b202a
Update documentation for OS X testing
...
Copy the Travis CI badge for 10.11. It is the same badge, but it will
fail if the build fails. I don't see a way to have separate badges, but
this highlights that the platform is being tested.
2016-04-14 11:26:34 -07:00
Andrew Schwartzmeyer
b930eeef9f
Disable broken OS X Pester tests
...
- The Get-Process cmdlet on OS X has issues due to permissions
- The Get-Process test in NativeLinuxCommands should have been removed
- The ProcessName property has the same bug that has been fixed on Linux
2016-04-14 10:05:51 -07:00
Andrew Schwartzmeyer
745fd43ede
Increase ulimit on OS X
2016-04-14 09:45:18 -07:00
Andrew Schwartzmeyer
6851fe374c
Enable OS X on Travis
...
Remove unsupported osx.10.10-x64 moniker. Use `osx_image: xcode7.3` to
get an OS X 10.11 image on Travis.
2016-04-14 09:45:18 -07:00
Andy Schwartzmeyer
ff4bc02781
Merge pull request #844 from PowerShell/ealexjordan-patch-1
...
Update linux.md
2016-04-14 08:57:24 -07:00
TingLiu6
92ac20f83b
Add Unit Test for Out-File,Out-String,Write-Error
2016-04-14 00:17:02 -07:00
TingLiu6
5300811ff9
Fixed the issue in PR
2016-04-13 20:16:36 -07:00
Alex Jordan
b06a44cb1e
Update linux.md
...
Several people have missed the bootstrap step for dotnet installation, making that slightly clearer in documentation.
2016-04-13 19:38:08 -07:00
Andy Schwartzmeyer
7fa31c444c
Merge pull request #843 from PowerShell/andschwa/travis-osx
...
Setup OS X on Travis CI
2016-04-13 19:31:05 -07:00
Andrew Schwartzmeyer
b2bc4183fe
Disable Travis CI OS X support
...
Unfortunately, Travis CI's OS X machines are 10.9.5, per
https://docs.travis-ci.com/user/osx-ci-environment/#CI-environment-OS .
While NuGet supports the RID, .NET Core does not yet publish 10.9
packages, resulting in a build failure we can't do anything about.
I've asked for best-effort support by providing runtime packages for
10.9 in dotnet/corefx#7731 .
Revert "Add OS X 10.9 runtime"
This reverts commit 19ab0de84c .
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
ed62e5c6e6
Add OS X 10.9 runtime
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
3d21d5da93
Deal with paths magically in Start-PSBuild
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
beccce54a8
Use matrix.include and fix OS X PATH
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
14837da664
Update documentation for Start-PSBootstrap
...
Also moved Git setup section first.
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
38041211b5
Remove deprecated omibuild and psrp scripts
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
aa1af214bc
Add OS X to Travis CI matrix
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
7538951dfa
Install package dependencies in download.sh
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer
70f921e824
Update AppVeyor to use Start-PSBootstrap
2016-04-13 19:24:11 -07:00
Andrew Schwartzmeyer
995eaf4c0f
Update Travis to use Start-PSBootstrap
2016-04-13 19:24:11 -07:00
Andrew Schwartzmeyer
a031dd9095
Remove deprecated bootstrap.sh
2016-04-13 19:24:11 -07:00
Andrew Schwartzmeyer
d94a040229
Add Start-PSBootstrap function
...
Installs Open PowerShell build dependenices on all platform; deprecates
`bootstrap.sh`.
2016-04-13 19:24:04 -07:00
Andrew Schwartzmeyer
a5dfe80d9a
Download and install packages for Ubuntu and OS X
...
This both downloads the v0.3.0 release for the current platform and now
also installs it (requiring `sudo`). Should probably rename.
2016-04-13 18:58:23 -07:00
Andy Schwartzmeyer
3d56952369
Merge pull request #842 from PowerShell/andschwa/build-dwim
...
Import-Module PowerShellGitHubDev in build.sh
2016-04-13 18:58:07 -07:00
Andrew Schwartzmeyer
9fc0dd451b
Import-Module PowerShellGitHubDev in build.sh
...
Make it Do What I Mean.
2016-04-13 18:56:23 -07:00
Andy Schwartzmeyer
d43d4f6549
Merge pull request #840 from PowerShell/andschwa/update-pester
...
Bump Pester with fixes
2016-04-13 15:16:09 -07:00
Andrew Schwartzmeyer
e210cf14c0
Bump Pester with fixes
2016-04-13 14:57:20 -07:00
Andy Schwartzmeyer
831343f096
Merge pull request #825 from PowerShell/andschwa/master
...
Update files from psl-monad source-depot [SD:695331]
2016-04-13 14:14:14 -07:00
Andy Schwartzmeyer
7048b5774c
Merge pull request #834 from PowerShell/psreadline2
...
Host code to enable PSReadLine, and remove checking of .NET Framework
2016-04-13 13:57:45 -07:00
Andy Schwartzmeyer
2a7d6a51c6
Merge pull request #814 from PowerShell/andschwa/recursive-alc
...
Fix stack overflow exception when loading assemblies
2016-04-13 13:54:38 -07:00
George Fleming
eb9daf0238
Host code to enable PSReadLine, and remove checking of .NET Framework version if CORECLR
2016-04-13 11:42:59 -07:00
Andy Schwartzmeyer
f38a11fc02
Merge pull request #807 from PowerShell/GetVariablePesterUnitTest
...
Add Get-Variable Pester Unit Test
2016-04-13 11:11:08 -07:00
Sergei Vorobev
273328d06f
Update files from psl-monad source-depot [SD:695331]
...
Corresponds to 1218e29752ba4
SD/695331
2016-04-13 09:41:34 -07:00
JumpingYang001
d0c759f10e
Update indent for Get-Variable Pester unit test
2016-04-13 09:41:04 -07:00
JumpingYang001
191f232519
Update fixed comments from PR for Get-Variable Pester unit test
2016-04-13 09:41:04 -07:00
JumpingYang001
0531914377
Enable bug777 skip for Get-Variable
2016-04-13 09:41:04 -07:00
JumpingYang001
95eade1305
Add Get-Variable Pester Unit Test
2016-04-13 09:41:04 -07:00
Andy Schwartzmeyer
5b880dbbb8
Merge pull request #782 from PowerShell/ImportAliasPesterUnitTest
...
Add Import-Alias Pester Unit test
2016-04-13 09:40:28 -07:00
Andrew Schwartzmeyer
1bc2a9e576
Fix stack overflow exception when loading assemblies
...
When an assembly that exists outside of the trusted platform assembly
list but in the GAC on Windows was loaded, the use of `Assembly.Load`
before the `LoadFromAssemblyPath` caused a recursive loop to occur.
This happens because an `Assembly.Load` on a not-yet-loaded
assembly is overridden, thus calling back into the
`AssemblyLoadContext.Load` override.
By attempting to load from the file path first, we avoid this loop.
However, loading TPA assemblies by their path throws an exception, so
now we catch this particular exception and attempt the load through
`Assembly.Load`.
This is safe for TPA assemblies since they're already loaded, thus the
`Assembly.Load` does not re-load the assembly, but simply returns it.
2016-04-13 09:40:16 -07:00
JumpingYang001
6184dec3ad
Update stand-alone tests for Import-Alias Pester unit test
2016-04-13 02:42:34 -07:00
TingLiu6
b32e949cab
Add Unit Test for Set-PSBreakpoint
2016-04-12 20:27:38 -07:00
Andy Schwartzmeyer
ceef777d5e
Merge pull request #826 from PowerShell/andschwa/remove-omi
...
Remove OMI and PSRP
2016-04-12 16:27:06 -07:00
Andrew Schwartzmeyer
841f76ec37
Update Git setup documentation
...
Now that everyone needs all the submodules. Much simpler.
2016-04-12 16:16:17 -07:00
Andrew Schwartzmeyer
285253da02
Disable xUnit tests on Travis temporarily
...
Until #806 is resolved.
2016-04-12 16:00:05 -07:00
Andrew Schwartzmeyer
b8f326adf5
Redirect PSRP documentation to other repo
2016-04-12 15:59:38 -07:00
Andrew Schwartzmeyer
a2fc6c330a
Remove PSRP building documentation
...
Migrated to PSRP repository
2016-04-12 15:18:27 -07:00
Andrew Schwartzmeyer
1f19758614
Remove OMI and provider submodules
2016-04-12 12:10:54 -07:00
Andy Schwartzmeyer
d621b44034
Merge pull request #813 from PowerShell/andschwa/download-v0.3.0
...
Update download.sh to get v0.3.0 deb asset
2016-04-11 13:19:13 -07:00