How do I write test cases for interactive commands?

Yoshihiro Ota ota at j.email.ne.jp
Thu Apr 15 00:23:54 UTC 2021


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


More information about the freebsd-hackers mailing list