Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Jul 11, 2018

  • Find the added/modified regression tests based on diversion from
    the master branch.

* Find the added/modified regression tests based on diversion from
  the master branch.
@teojgo teojgo added this to the ReFrame sprint 2018w26 milestone Jul 11, 2018
@teojgo teojgo self-assigned this Jul 11, 2018
@teojgo teojgo requested a review from vkarak July 11, 2018 08:17
tutorialchecks=( $(git log --name-status --oneline --no-merges -1 | \
awk '/^[AM]/ { print $2 } /^R0[0-9][0-9]/ { print $3 }' | \
grep -e '^tutorial/(?!config/).*\.py') )
tutorialchecks=( $(git diff origin/master...HEAD --name-only --oneline --no-merges | \
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you using three dots here instead of two. If there's no difference, I prefer ...

Copy link
Contributor Author

@teojgo teojgo Jul 11, 2018

Choose a reason for hiding this comment

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

The three dots are different from two. The ... checks diversion from the latest common point while the .. checks without taking the common point into account. Thus, ... is better because there could be a change in the master in the meanwhile.That was one of the problems we had in the production where .. was initially used.

@vkarak
Copy link
Contributor

vkarak commented Jul 11, 2018

@jenkins-cscs retry dom

@vkarak vkarak merged commit b7b5c0b into master Jul 11, 2018
@vkarak vkarak deleted the ci/find_checks_git_diff branch July 11, 2018 11:16
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