Skip to content

[Lock] Skip test if posix extension is not installed #27278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2018

Conversation

ostrolucky
Copy link
Contributor

This isn't installed by default on Fedora

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@ostrolucky ostrolucky force-pushed the patch-21 branch 2 times, most recently from cf1657e to b4fbc6b Compare May 15, 2018 18:31
@ostrolucky ostrolucky changed the title [Lock] Skip test if posix extension is installed [Lock] Skip test if posix extension is not installed May 15, 2018
@@ -35,6 +35,10 @@
*/
public function testBlockingLocks()
{
if (!extension_loaded('posix')) {
$this->markTestSkipped('Extension posix is required.');
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* @requires extension posix in the docblock instead?

This isn't installed by default on Fedora
@chalasr
Copy link
Member

chalasr commented May 17, 2018

Thank you @ostrolucky.

@chalasr chalasr merged commit 97cbea0 into symfony:3.4 May 17, 2018
chalasr pushed a commit that referenced this pull request May 17, 2018
…trolucky)

This PR was merged into the 3.4 branch.

Discussion
----------

[Lock] Skip test if posix extension is not installed

This isn't installed by default on Fedora

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

97cbea0 [Lock] Skip test if posix extension is not installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants