[Docs] Add best practices for regression tests
authorNikita Popov <npopov@redhat.com>
Tue, 24 Jan 2023 09:43:40 +0000 (10:43 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 26 Jan 2023 13:27:50 +0000 (14:27 +0100)
commit1d6d1ecca7ec54109514237c854cdb60035decf4
treef5d73dca67bce36498acd9379d182c0d6a045789
parent6e520fcf451ad66578192ec6cdd4f3515ecbec52
[Docs] Add best practices for regression tests

There are a lot of conventions for writing tests that don't seem
to be documented anywhere right now, so this takes a stab at
writing down some "best practices".

Differential Revision: https://reviews.llvm.org/D142441
llvm/docs/TestingGuide.rst