Skip to content

[BE] .gitignore adding test-reports/ folder#50952

Closed
walterddr wants to merge 2 commits intopytorch:masterfrom
walterddr:be_ignore_test_reports
Closed

[BE] .gitignore adding test-reports/ folder#50952
walterddr wants to merge 2 commits intopytorch:masterfrom
walterddr:be_ignore_test_reports

Conversation

@walterddr
Copy link
Copy Markdown
Contributor

@walterddr walterddr commented Jan 22, 2021

Cant think of a reason not .gitignore test-reports folder. this can be helpful when

  1. running python test/test*.py from github root directory since it creates the folder at root.
  2. CI test report path generated by torch/testing/_internal/common_utils.py creates the folder in the same path where the test python file locates.

Creating a PR to make sure CI is happy. this is also needed by #50923

@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented Jan 22, 2021

💊 CI failures summary and remediations

As of commit 8aeca4d (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@walterddr walterddr marked this pull request as ready for review January 22, 2021 18:23
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@walterddr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Copy Markdown
Contributor

@samestep samestep left a comment

Choose a reason for hiding this comment

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

I see that test/test-reports/ is already present in that .gitignore (line 54), so that should be removed since this one makes it redundant; also could you give an example of a scenario where a test-reports/ dir is generated that is not in test/?

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@walterddr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@walterddr merged this pull request in 7b12893.

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Cant think of a reason not .gitignore test-reports folder. this can be helpful when
1. running `python test/test*.py` from github root directory since it creates the folder at root.
2. CI test report path generated by `torch/testing/_internal/common_utils.py` creates the folder in the same path where the test python file locates.

Creating a PR to make sure CI is happy. this is also needed by pytorch#50923

Pull Request resolved: pytorch#50952

Reviewed By: samestep

Differential Revision: D26022436

Pulled By: walterddr

fbshipit-source-id: 83e6296de802bd1754b802b8c70502c317f078c9
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.

3 participants