<div dir="ltr">Hello all,<br><br>I am writing test cases which are dedicated to be executed by llvm-lit. Most of my test cases have the same logic but different types. For example:<br><br>// RUN: %clang_cc1 -fsyntax-only<br>func (int a) {<br>  a = 3;<br>}<br><br>// RUN: %clang_cc1 -fsyntax-only<br>func (char a) {<br>  a = 3;<br>}<br><br>// RUN: %clang_cc1 -fsyntax-only<br>func (unsigned a) {<br>  a = 3;<br>}<br><br>Now I put them in three different test cases but it is hard to maintain. I am wondering whether llvm-lit support writing test cases with macro parameter and a parameter config file:<br><br>// RUN: %clang_cc1 -fsyntax-only<br>func (TYPE a) {<br>  a = 3;<br>}<br><br>// TYPE config<br>TYPE = {int, char, unsigned}<br><div><br></div><div>Many thanks</div></div>