[all-commits] [llvm/llvm-project] e1a2f7: [clang][test] add TestLanguage.def to specify all ...
Julian Schmidt via All-commits
all-commits at lists.llvm.org
Fri Jul 12 14:59:32 PDT 2024
Branch: refs/heads/users/5chmidti/specify_test_language_versions_in_def_file
Home: https://github.com/llvm/llvm-project
Commit: e1a2f731a24840c4c922ead50393ad9ccf342d8c
https://github.com/llvm/llvm-project/commit/e1a2f731a24840c4c922ead50393ad9ccf342d8c
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M clang/include/clang/Testing/CommandLineArgs.h
M clang/include/clang/Testing/TestClangConfig.h
A clang/include/clang/Testing/TestLanguage.def
M clang/lib/Testing/CommandLineArgs.cpp
M clang/unittests/AST/MatchVerifier.h
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
M clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
M clang/unittests/Tooling/Syntax/MutationsTest.cpp
M clang/unittests/Tooling/Syntax/SynthesisTest.cpp
M clang/unittests/Tooling/Syntax/TreeTest.cpp
M clang/unittests/Tooling/Syntax/TreeTestBase.cpp
Log Message:
-----------
[clang][test] add TestLanguage.def to specify all tested language versions
Adds a def file to have a single location where tested language versions are
specified. Removes the need to update multiple locations in the testing
infrastructure to add a new language version to be tested.
Test instatiation can now include all languages without needing to
specify them.
This patch also adds pretty printing for instantiated test names.
That means, that a test instantiated with C++23 will have the
name `...TestSuite/TestName/CXX23` instead ending with some number
(index of the argument for instantiation of the test), which improves a
better experience when encountering a test failure with a specific
language version. The suffix will also contain an `_win` if the target
contains `win`.
Commit: 84ab78681c518c211323320af05bcc14d36097b7
https://github.com/llvm/llvm-project/commit/84ab78681c518c211323320af05bcc14d36097b7
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M clang/include/clang/Testing/TestLanguage.def
Log Message:
-----------
add macro description
Commit: 1383acea35d592c0cb6fd94f590a508472419c44
https://github.com/llvm/llvm-project/commit/1383acea35d592c0cb6fd94f590a508472419c44
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M clang/include/clang/Testing/TestLanguage.def
Log Message:
-----------
add c2y
Compare: https://github.com/llvm/llvm-project/compare/1c6f2a0a2780...1383acea35d5
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