Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2014 17:38:06 -0400
From:      Julio Merino <jmmv@freebsd.org>
To:        "Peel, Casey" <casey.peel@isilon.com>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Makefiles for skip-level directories?
Message-ID:  <CAFY7cWD52sSES%2BLqFr6T6-=WREF7iF=HGTDuKov4NhJ9_dmxng@mail.gmail.com>
In-Reply-To: <16437CC5729B5345AF77F816513376E820BAA20A@MX103CL02.corp.emc.com>
References:  <16437CC5729B5345AF77F816513376E8129868F1@MX103CL02.corp.emc.com> <CAFY7cWD2A_B949Fp7Pp5rKysNbQE_LqBJh%2BwYD1-v8uGcLEXBw@mail.gmail.com> <16437CC5729B5345AF77F816513376E820BAA20A@MX103CL02.corp.emc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 31, 2014 at 7:07 PM, Peel, Casey <casey.peel@isilon.com> wrote:
>> In a thread in January, we agreed not to put any tests in sys/.
>> Instead, we'll put them in tests/sys.  Take a look at
>> tests/sys/netinet; you can probably copy its structure for your tests.
>
> Ah, that helped, thanks. I was able to get them working in test/sys/.
>
>> The magic to install intermediate Kyuafiles lives in the 'tests'
>> subdirectory corresponding to where they are installed!  See
>> src/bin/tests/Makefile, for example.
>
> Thanks, but that's about as clear as mud. Is the "magic" the KYUAFILE=yes line? When is this required and when isn't it? Where is the documentation on its usage?

The *.test.mk files in share/mk/ are reasonably documented.  The
share/mk/README file also includes a few words on bsd.test.mk.  There
are also heavily commented examples in
/usr/src/share/examples/tests/tests/ .  And there is also
https://wiki.freebsd.org/TestSuite/DeveloperHowTo .

Please let me know where the documentation above is lacking and/or how
to make it more discoverable.

Cheers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFY7cWD52sSES%2BLqFr6T6-=WREF7iF=HGTDuKov4NhJ9_dmxng>