This is an archive of the discontinued LLVM Phabricator instance.

[test][ELF] Use CHECK-NEXT to properly check error messages
ClosedPublic

Authored by jhenderson on Jan 2 2020, 9:34 AM.

Diff Detail

Event Timeline

jhenderson created this revision.Jan 2 2020, 9:34 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: emaste. · View Herald Transcript
MaskRay accepted this revision.Jan 2 2020, 10:13 AM
This revision is now accepted and ready to land.Jan 2 2020, 10:13 AM
This revision was automatically updated to reflect the committed changes.

@MaskRay I know it's a bit quirky, but Phabricator doesn't send email to the list on status changes (like approvals) that contain no user-authored text, which makes it look like patches are being committed without approval (if you're just reading the mailing list). If you could write a little something ("Thanks", "Looks good", etc) whenever approving a patch, it'd help make sure the mailing list accurately reflects the state of patches - thanks!

@MaskRay I know it's a bit quirky, but Phabricator doesn't send email to the list on status changes (like approvals) that contain no user-authored text, which makes it look like patches are being committed without approval (if you're just reading the mailing list). If you could write a little something ("Thanks", "Looks good", etc) whenever approving a patch, it'd help make sure the mailing list accurately reflects the state of patches - thanks!

@dblaikie I actually read a similar comment from you to another person. Thanks for the reminder! To prevent me from forgetting, I created a Tampermonkey script:

const select = document.querySelector('.aphront-form-input > select')
if (select)
  select.onchange = function() {
    const accept = select.querySelector('option[value=accept]')
    if (accept && accept.disabled) {
      const comment = document.querySelector('.remarkup-assist-textarea')
      if (comment && comment.value.length == 0) {
        const words = ['LGTM.', 'Thanks!', 'Looks great!']
        comment.value = words[~~(Math.random()*words.length)]+' '
        comment.focus()
      }
    }
  }

@MaskRay I know it's a bit quirky, but Phabricator doesn't send email to the list on status changes (like approvals) that contain no user-authored text, which makes it look like patches are being committed without approval (if you're just reading the mailing list). If you could write a little something ("Thanks", "Looks good", etc) whenever approving a patch, it'd help make sure the mailing list accurately reflects the state of patches - thanks!

@dblaikie I actually read a similar comment from you to another person. Thanks for the reminder! To prevent me from forgetting, I created a Tampermonkey script:

const select = document.querySelector('.aphront-form-input > select')
if (select)
  select.onchange = function() {
    const accept = select.querySelector('option[value=accept]')
    if (accept && accept.disabled) {
      const comment = document.querySelector('.remarkup-assist-textarea')
      if (comment && comment.value.length == 0) {
        const words = ['LGTM.', 'Thanks!', 'Looks great!']
        comment.value = words[~~(Math.random()*words.length)]+' '
        comment.focus()
      }
    }
  }

oh, nifty! Thanks!