Date: Sat, 25 Jan 2014 15:36:22 -0500 From: Julio Merino <julio@meroh.net> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: freebsd-testing@freebsd.org, Giorgos Keramidas <keramida@freebsd.org> Subject: Re: [PATCH] convert bin/date over to ATF Message-ID: <CADyfeQXG6KGwgT1X90Ymr%2BFYnwL74H_G2zBvkgdzEhPospNM8A@mail.gmail.com> In-Reply-To: <FA467521-BB53-47C0-BAE1-8BCAE29F922F@gmail.com> References: <6079AD8F-5EBB-431C-A06B-9B51E2729F5A@gmail.com> <B90AA730-B7B8-4F1A-9D07-67861C9A6401@meroh.net> <FA467521-BB53-47C0-BAE1-8BCAE29F922F@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 23, 2014 at 5:16 PM, Garrett Cooper <yaneurabeya@gmail.com> wro= te: > On Jan 22, 2014, at 3:56 PM, Julio Merino <julio@meroh.net> wrote: > >> On Jan 20, 2014, at 13:40, Garrett Cooper <yaneurabeya@gmail.com> wrote: >> >>> This is based on work done by Giorgos a couple years ago. >>> Thanks! >>> -Garrett >> >> Pasting patch contents and commenting inline: >> >>> diff --git a/bin/date/tests/Makefile b/bin/date/tests/Makefile >>> index 540008b..459d019 100644 >>> --- a/bin/date/tests/Makefile >>> +++ b/bin/date/tests/Makefile >>> @@ -4,6 +4,6 @@ >>> >>> TESTSDIR=3D ${TESTSBASE}/bin/date >>> >>> -TAP_TESTS_SH=3D legacy_test >>> +ATF_TESTS_SH=3D regress >> >> Tests ought to end with _test per the description in https://wiki.freebs= d.org/TestSuite/Structure > > Ok! Is `_tests` ok? _test is a very common convention "out there"; I've seen it used pretty much everywhere plus we already have a bunch of _test programs. I don't think diverging to _tests is a good idea. (The rationale for _test, I believe, is that this refers to the "test program", not its contents. But who knows -- I'm just making that up.) >> Also, "regress_test" is not a very indicative name. Will this only cont= ain test cases for bugs to prevent regressions? > > It should be =93date_functional_tests=94, because that=92s what they=92re= doing. Sure; the more descriptive, the better. (But note that this will live in a "date" subdirectory, so arguably functional_test is enough.) --=20 Julio Merino / @jmmv
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyfeQXG6KGwgT1X90Ymr%2BFYnwL74H_G2zBvkgdzEhPospNM8A>