How do I write test cases for interactive commands?

Gleb Popov arrowd at freebsd.org
Thu Apr 15 05:41:02 UTC 2021


On Thu, Apr 15, 2021 at 3:23 AM Yoshihiro Ota <ota at j.email.ne.jp> wrote:

> Hi,
>
> I'm interested in writing some test cases for lldb and clang.
>
> How can I write interactive command in/out in Kyua?
> Does anyone have some examples?
>
> I'm also interested in writing test programs to compile again clang to
> find compiler/linker bugs.
> Where do we use for temporary files and how do we clean up?
>
> Thanks,
> Hiro
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>

Take a look at LLVM testing infrastructure and specifically the llvm-lit
tool.


More information about the freebsd-hackers mailing list