test/rdoc/test_rdoc_generator_json_index.rb: pend in test_generate in ppc64le. #1050
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is a workaround for the #1048 to always pass the test in ruby/ruby's Travis CI.
We observed that this test randomly fails in the ruby/ruby Travis ppc64le case. This commit is to pend the test_generate if the assertion for the generated file's modified time fails in a ppc64le environment.
Note that I didn't use the word "Travis CI" or Travis CI specific environment variables such as
TRAVIS
andTRAVIS_CPU_ARCH
[1] in the code. Because I wanted to prioritize the rdoc's independence from the ruby/ruby.[1] https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
Note that
RUBY_PLATFORM
prints the following text in RubyCI's ppc64le Ubuntu server.If the issue happens, the result of the test should be printed like this in ruby/rdoc repository. Note this is not actual log. I created it to explain it.