Skip to content
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

When updating baselines, canonify them #28

Merged
merged 4 commits into from
Oct 9, 2020

Commits on Oct 7, 2020

  1. Configuration menu
    Copy the full SHA
    01cffdd View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. Canonify outputs when updating baselines via btest-diff

    This leverages the same canonicalization btest-diff already applies
    during test output comparison against baselines also when updating
    those baselines (usually via btest -U/-u). This removes a bunch of
    noise from the baselines, including personal home directories,
    timestamps, etc.
    
    Since btest-diff doesn't know whether the baseline has undergone this
    canonicalization, it continues to canonicalize the basline prior to
    diffing. To track whether it has canonicalized a baseline when
    updating, btest-diff now also prepends a header to the generated
    baseline that warns users about the fact that it is
    auto-generated. The presence of this header doubles as a marker for
    canonicalization.
    
    Includes a test-case.
    ckreibich committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    7a6b5e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ab5004 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7b772c View commit details
    Browse the repository at this point in the history