[PATCH v3 19/23] test: Add a test for getopt
Simon Glass
sjg at chromium.org
Tue Nov 3 16:11:47 CET 2020
On Sat, 17 Oct 2020 at 12:08, Sean Anderson <seanga2 at gmail.com> wrote:
>
> A few of these tests were inspired by those in glibc. The syntax for
> invoking test_getopt is a bit funky, but it's necessary so that the CPP can
> parse the arguments correctly.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> (no changes since v1)
>
> test/lib/Makefile | 1 +
> test/lib/getopt.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 124 insertions(+)
> create mode 100644 test/lib/getopt.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list