-
Notifications
You must be signed in to change notification settings - Fork 51
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
t/12-data.t fails on s390x #174
Comments
Thank you for this report. The operating system -- s390x -- for which you are attempting to build an RPM is one that we do not have access to and from which we have not received smoke-testing reports. Hence, we'll need some direct interaction with you in order to resolve the problem. I'd like to begin by posing these questions:
a. My hunch is that the b. The failure you are getting comes from this part of
What the test at line 271 is asserting is that, (a) when creating a profile of a Perl process (technically, creating a new Devel::NYTProf::Data object), (b) if we have set an environmental variable It would therefore be helpful to see how, in your test run,
My hunch is that, from the point of view of users of Devel-NYTProf from your RPM, the failure you are reporting is a false negative. The relevant part of
Hence, what line 271 of We look forward to your response. Thank you very much. |
Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest' will set this envvar true, thereby causing certain unit tests within the test suite and/or test files to run only when needed by NYTProf developers. Accordingly, move 90-pod.t back into t/ from xt/, but have this run only when NYTPROF_AUTHOR_TESTING is set. This should have a favorable impact on timbunce#174.
Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest' will set this envvar true, thereby causing certain unit tests within the test suite and/or test files to run only when needed by NYTProf developers. Accordingly, move 90-pod.t back into t/ from xt/, but have this run only when NYTPROF_AUTHOR_TESTING is set. This should have a favorable impact on timbunce#174.
Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest' will set this envvar true, thereby causing certain unit tests within the test suite and/or test files to run only when needed by NYTProf developers. Accordingly, move 90-pod.t back into t/ from xt/, but have this run only when NYTPROF_AUTHOR_TESTING is set. This should have a favorable impact on timbunce#174.
Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest' will set this envvar true, thereby causing certain unit tests within the test suite and/or test files to run only when needed by NYTProf developers. Accordingly, move 90-pod.t back into t/ from xt/, but have this run only when NYTPROF_AUTHOR_TESTING is set. This should have a favorable impact on timbunce#174.
Sorry for delay, but I was a bit busy.
I can reproduce it with version 6.08. I do not have s390x machine, but I use mock tool for it. Mock is possible to install packages for different architecture.
Fedora prefers to use system utilities instead of bundled one. So, we update Makefile to use flamegraph.pl from Fedora package.
It is not a problem.
The result with required change is:
I hope it helps you. |
I want to build the version 6.08 for Fedora, but the test 12-data.t fails on s390x
Complete build informati can be found on:
https://koji.fedoraproject.org/koji/taskinfo?taskID=66958623
The text was updated successfully, but these errors were encountered: