Skip to content

[Debug] fix resource type test on HHVM #19116

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
Jun 20, 2016
Merged

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jun 20, 2016

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

@fabpot
Copy link
Member

fabpot commented Jun 20, 2016

Do we know why it broke without any change on our side?

@xabbuh
Copy link
Member Author

xabbuh commented Jun 20, 2016

@fabpot The failing test was added in #19079.

@xabbuh
Copy link
Member Author

xabbuh commented Jun 20, 2016

@xabbuh
Copy link
Member Author

xabbuh commented Jun 20, 2016

and this simply seems to be the returned value in all HVM versions: https://3v4l.org/D8sLi

@fabpot
Copy link
Member

fabpot commented Jun 20, 2016

Looks like the tests still do not pass on HHVM.

@xabbuh xabbuh force-pushed the pr-19079 branch 5 times, most recently from 0e40d5d to e1aad5f Compare June 20, 2016 13:21
@xabbuh
Copy link
Member Author

xabbuh commented Jun 20, 2016

Tests finally pass (we had to swap the expected and actual arguments for the assertions too).

@@ -193,6 +193,7 @@ public function flattenDataProvider()
public function testArguments()
{
$dh = opendir(__DIR__);
$fh = fopen($filename = tempnam(sys_get_temp_dir(), ''), 'r');
Copy link
Contributor

Choose a reason for hiding this comment

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

$fh = tmpfile();?

Copy link
Member Author

Choose a reason for hiding this comment

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

makes sense

@xabbuh
Copy link
Member Author

xabbuh commented Jun 20, 2016

Tests do now pass again on HHVM.

@fabpot
Copy link
Member

fabpot commented Jun 20, 2016

Thank you @xabbuh.

@fabpot fabpot merged commit 2d03ee8 into symfony:master Jun 20, 2016
fabpot added a commit that referenced this pull request Jun 20, 2016
This PR was merged into the 3.2-dev branch.

Discussion
----------

[Debug] fix resource type test on HHVM

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

Commits
-------

2d03ee8 [Debug] fix resource type test on HHVM
@xabbuh xabbuh deleted the pr-19079 branch June 20, 2016 16:11
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.

4 participants