May 21, 2023

Hi all,
Have a look at this LLVM test tool: split-file. https://reviews.llvm.org/D83834?id=282671

It makes it much more convenient to make testcases that span multiple files (like import files), but also grouping tests that require independent files but are closely related (instead of creating separate test files like "test_feature_1.d" "test_feature_2.d" "test_feature_3.d"...)

I'll submit a PR to add it to LDC later.

cheers,
Johan

May 21, 2023

On Sunday, 21 May 2023 at 09:35:18 UTC, Johan wrote:

>

Hi all,
Have a look at this LLVM test tool: split-file. https://reviews.llvm.org/D83834?id=282671

It makes it much more convenient to make testcases that span multiple files (like import files), but also grouping tests that require independent files but are closely related (instead of creating separate test files like "test_feature_1.d" "test_feature_2.d" "test_feature_3.d"...)

I'll submit a PR to add it to LDC later.

cheers,
Johan

https://github.com/ldc-developers/ldc/pull/4409