-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[circleci] Remove a gtest-parallel workaround #7433
Conversation
As the issue is fixed in official repo: google/gtest-parallel#79
54bfd66
to
9bae3fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jay-zhuang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I figured out the reason for | cat
by reading the linked issue, but we could add a comment above where it's used for convenience.
.circleci/config.yml
Outdated
@@ -337,7 +336,7 @@ jobs: | |||
sed -i 's/[[:space:]]*$//; s/ / \.\//g; s/.*/.\/&/' /tmp/test_list | |||
cat /tmp/test_list | |||
export TEST_TMPDIR=/tmp/rocksdb_test_tmp | |||
/usr/bin/python ../gtest-parallel/gtest-parallel $(</tmp/test_list) --output_dir=/tmp --print_task_status_continuously | |||
/usr/bin/python ../gtest-parallel/gtest-parallel $(</tmp/test_list) --output_dir=/tmp | cat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't matter, just for my understanding -- do we lose color support by tricking the python program into thinking it's not a tty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add comment on that.
We won't lose color support with cat
, it's just to output job status continuously.
Without that, it won't print anything while running on circleci output, because the gtest_parallel script try to re-use the same line for status update, and on web-ui it doesn't print anything.
@jay-zhuang has updated the pull request. You must reimport the pull request before landing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jay-zhuang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@jay-zhuang merged this pull request in 58905f3. |
Summary: As the issue is fixed in official repo: google/gtest-parallel#79 Pull Request resolved: facebook#7433 Reviewed By: ajkr Differential Revision: D24023271 Pulled By: jay-zhuang fbshipit-source-id: 0babf5e4c59cd61ded5a64cf9aa2d457deeeaa47
As the issue is fixed in official repo:
google/gtest-parallel#79