[all-commits] [llvm/llvm-project] 9ceb96: Reland "[Utils] add update-verify-tests.py" (#1086...

Henrik G. Olsson via All-commits all-commits at lists.llvm.org
Fri Sep 13 19:04:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ceb9676678ad979a0b767450855d7852ce6a553
      https://github.com/llvm/llvm-project/commit/9ceb9676678ad979a0b767450855d7852ce6a553
  Author: Henrik G. Olsson <hnrklssn at gmail.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    A clang/test/utils/update-verify-tests/Inputs/duplicate-diag.c
    A clang/test/utils/update-verify-tests/Inputs/duplicate-diag.c.expected
    A clang/test/utils/update-verify-tests/Inputs/infer-indentation.c
    A clang/test/utils/update-verify-tests/Inputs/infer-indentation.c.expected
    A clang/test/utils/update-verify-tests/Inputs/leave-existing-diags.c
    A clang/test/utils/update-verify-tests/Inputs/leave-existing-diags.c.expected
    A clang/test/utils/update-verify-tests/Inputs/multiple-errors.c
    A clang/test/utils/update-verify-tests/Inputs/multiple-errors.c.expected
    A clang/test/utils/update-verify-tests/Inputs/multiple-missing-errors-same-line.c
    A clang/test/utils/update-verify-tests/Inputs/multiple-missing-errors-same-line.c.expected
    A clang/test/utils/update-verify-tests/Inputs/no-checks.c
    A clang/test/utils/update-verify-tests/Inputs/no-checks.c.expected
    A clang/test/utils/update-verify-tests/Inputs/no-diags.c
    A clang/test/utils/update-verify-tests/Inputs/no-diags.c.expected
    A clang/test/utils/update-verify-tests/Inputs/no-expected-diags.c
    A clang/test/utils/update-verify-tests/Inputs/no-expected-diags.c.expected
    A clang/test/utils/update-verify-tests/Inputs/non-default-prefix.c
    A clang/test/utils/update-verify-tests/Inputs/non-default-prefix.c.expected
    A clang/test/utils/update-verify-tests/Inputs/update-same-line.c
    A clang/test/utils/update-verify-tests/Inputs/update-same-line.c.expected
    A clang/test/utils/update-verify-tests/Inputs/update-single-check.c
    A clang/test/utils/update-verify-tests/Inputs/update-single-check.c.expected
    A clang/test/utils/update-verify-tests/duplicate-diag.test
    A clang/test/utils/update-verify-tests/infer-indentation.test
    A clang/test/utils/update-verify-tests/leave-existing-diags.test
    A clang/test/utils/update-verify-tests/lit.local.cfg
    A clang/test/utils/update-verify-tests/multiple-errors.test
    A clang/test/utils/update-verify-tests/multiple-missing-errors-same-line.test
    A clang/test/utils/update-verify-tests/no-checks.test
    A clang/test/utils/update-verify-tests/no-diags.test
    A clang/test/utils/update-verify-tests/no-expected-diags.test
    A clang/test/utils/update-verify-tests/non-default-prefix.test
    A clang/test/utils/update-verify-tests/update-same-line.test
    A clang/test/utils/update-verify-tests/update-single-check.test
    A clang/utils/UpdateVerifyTests/core.py
    A clang/utils/update-verify-tests.py

  Log Message:
  -----------
  Reland "[Utils] add update-verify-tests.py" (#108630)" (#108658)

This relands commit d4f41befb7256f8e8378ae358b2b3d802454d6a4 which was
reverted by b7e585b95e241d0506b6f71d53ff5b6e72a9c8f4.

This version ignores differences in line endings in the diff tests to
make sure the tests work as intended on Windows.

Original description below:
Adds a python script to automatically take output from a failed clang
-verify test and update the test case(s) to expect the new behaviour.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list