[all-commits] [llvm/llvm-project] 1ef1bc: [clang][test] add TestLanguage.def to specify all ...
Julian Schmidt via All-commits
all-commits at lists.llvm.org
Sat Aug 24 03:54:45 PDT 2024
Branch: refs/heads/users/5chmidti/specify_test_language_versions_in_def_file
Home: https://github.com/llvm/llvm-project
Commit: 1ef1bc0bfebca8ca114a57ea2d5016418e36446d
https://github.com/llvm/llvm-project/commit/1ef1bc0bfebca8ca114a57ea2d5016418e36446d
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-08-24 (Sat, 24 Aug 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: d6613969cf5e893b4677c30236618f616a83e420
https://github.com/llvm/llvm-project/commit/d6613969cf5e893b4677c30236618f616a83e420
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-08-24 (Sat, 24 Aug 2024)
Changed paths:
M clang/include/clang/Testing/TestLanguage.def
Log Message:
-----------
add macro description
Commit: 4da7732ebb70e76a2a604e04ee75d93395a92bd8
https://github.com/llvm/llvm-project/commit/4da7732ebb70e76a2a604e04ee75d93395a92bd8
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-08-24 (Sat, 24 Aug 2024)
Changed paths:
M clang/include/clang/Testing/TestLanguage.def
Log Message:
-----------
add c2y
Compare: https://github.com/llvm/llvm-project/compare/82f048e2313c...4da7732ebb70
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