Skip to content

YETUS-1106. Detect CMake test changes #215

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
Apr 7, 2021

Conversation

GauthamBanasandra
Copy link
Member

  • The regex used to detect test changes
    only caters to the case where there's
    a directory named "test".
  • Conventionally, the tests in CMake are
    put under a directory named "tests".
    This causes the regex match to fail and
    thus results in a -1 for test4tests.
  • We handle this case by matching "test"
    with an optional trailing "s".

* The regex used to detect test changes
  only caters to the case where there's
  a directory named "test".
* Conventionally, the tests in CMake are
  put under a directory named "tests".
  This causes the regex match to fail and
  thus results in a -1 for test4tests.
* We handle this case by matching "test"
  with an optional trailing "s".
@GauthamBanasandra
Copy link
Member Author

GauthamBanasandra commented Apr 3, 2021

This PR fixes the issue seen in the CI runs of apache/hadoop#2792.

@GauthamBanasandra
Copy link
Member Author

@aajisaka , @aw-was-here could you please review my PR? I'm not sure why linkcheck is failing. It seems unrelated to my PR.

@GauthamBanasandra
Copy link
Member Author

@aajisaka could you please review my PR? This'll help in getting a green +1 on HDFS native client PRs.

@GauthamBanasandra
Copy link
Member Author

GauthamBanasandra commented Apr 6, 2021

@ajayyadava could you please review my PR? This helps in getting clean runs on HDFS native client PRs (basically, any PR that involves CMake).

@aajisaka
Copy link
Member

aajisaka commented Apr 7, 2021

The patch looks good to me. Linkcheck failure seems unrelated.

@GauthamBanasandra
Copy link
Member Author

Thanks @aajisaka. Could you please merge this PR then?

@aajisaka
Copy link
Member

aajisaka commented Apr 7, 2021

https://github.com/apache/yetus/pull/215/checks?check_run_id=2283960122#step:4:9402
Missing components in https://issues.apache.org/jira/browse/YETUS-1102 caused this error. I fixed this by adding the component.

@aajisaka
Copy link
Member

aajisaka commented Apr 7, 2021

Started linkcheck test again. I'll merge this after it passed.

@aajisaka aajisaka merged commit f9ba017 into apache:main Apr 7, 2021
@aajisaka
Copy link
Member

aajisaka commented Apr 7, 2021

Merged. Thank you @GauthamBanasandra

@GauthamBanasandra GauthamBanasandra deleted the fix-cmake-test4tests branch April 7, 2021 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants