Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 08:40:31 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: How do I write test cases for interactive commands?
Message-ID:  <CALH631mBgRtc2dQAYcp%2BJ=M=Vu1pYDdXLjC-OS3sojs9p0=2FA@mail.gmail.com>
In-Reply-To: <20210414190252.69d4bb503fafc73ca1721eb2@j.email.ne.jp>
References:  <20210414190252.69d4bb503fafc73ca1721eb2@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 15, 2021 at 3:23 AM Yoshihiro Ota <ota@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mBgRtc2dQAYcp%2BJ=M=Vu1pYDdXLjC-OS3sojs9p0=2FA>