[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-02 Thread Henrik G. Olsson via cfe-commits
hnrklssn wrote: > This is a nice addition, but I think it should follow the conventions > established by the existing update_*_test_checks.py scripts as much as > possible, at least: > > * Ability to parse RUN lines, re-execute them autonomously, and modify > test files in place based on

[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-02 Thread Nicolai Hähnle via cfe-commits
https://github.com/nhaehnle commented: This is a nice addition, but I think it should follow the conventions established by the existing update_*_test_checks.py scripts as much as possible, at least: * Ability to parse RUN lines, re-execute them autonomously, and modify test files in place ba

[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-01 Thread Henrik G. Olsson via cfe-commits
https://github.com/hnrklssn updated https://github.com/llvm/llvm-project/pull/97369 >From bc2f0757cfa08a8f26b9934929a0045d5e0ffd93 Mon Sep 17 00:00:00 2001 From: "Henrik G. Olsson" Date: Mon, 1 Jul 2024 18:19:09 -0700 Subject: [PATCH 1/2] [UVT] add update-verify-tests.py Adds a python script t

[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-01 Thread via cfe-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r ffca4ef5b1a8eff6097454df4b0f212e2393e41e...bc2f0757cfa08a8f26b9934929a0045d5e0ffd93 clang

[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Henrik G. Olsson (hnrklssn) Changes 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. --- Full diff: https://github.com/llvm/llvm-project/pull/97369

[clang] [UVT] add update-verify-tests.py (PR #97369)

2024-07-01 Thread Henrik G. Olsson via cfe-commits
https://github.com/hnrklssn created https://github.com/llvm/llvm-project/pull/97369 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. >From bc2f0757cfa08a8f26b9934929a0045d5e0ffd93 Mon Sep 17 00:00:00 200