Skip to content

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

@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