Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix the test that fails in Travis CI build#1792

Merged
mirichmo merged 1 commit into
masterPowerShell/PowerShell:masterfrom
dongbo/fix-buildPowerShell/PowerShell:dongbo/fix-buildCopy head branch name to clipboard
Aug 13, 2016
Merged

Fix the test that fails in Travis CI build#1792
mirichmo merged 1 commit into
masterPowerShell/PowerShell:masterfrom
dongbo/fix-buildPowerShell/PowerShell:dongbo/fix-buildCopy head branch name to clipboard

Conversation

@daxian-dbw

Copy link
Copy Markdown
Member

The test use of a module from two runspaces set /tmp/<guid-number> in $env:PSMODULEPATH. However, the file /tmp/powershell somehow exists in the Travis CI build machine. So when the test create a powershell object by [powershell]::create(), the module path calculation logic incorrectly believed that /tmp/<guid-number> is a PSHome module path derived from parent process and thus removed it.

The detection of a derived PSHome module path could be smarter, it's tracked in #1744
This PR will resolve the failure from the test side, so that our build can be fixed.

@mirichmo

Copy link
Copy Markdown
Member

LGTM

@mirichmo mirichmo merged commit 9ab60d6 into master Aug 13, 2016
@mirichmo mirichmo deleted the dongbo/fix-build branch August 13, 2016 01:36
JamesWTruher referenced this pull request in JamesWTruher/PowerShell Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WG-Maintainers-Build specific to affecting the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.