Commit Graph

13289 Commits

Author SHA1 Message Date
jmmv
7c357179a8 Remove duplicate (and possibly invalid) 'atf' tags from 3 tests. 2013-02-23 22:56:46 +00:00
jmmv
704facb580 Autogenerate Kyuafiles next to Atffiles when MKKYUA is set.
This is suboptimal: the current high-level definitions of test programs
in the Makefiles do not carry enough information to support all the
features of Kyuafiles.  For example, it is not possible to register test
programs that do *not* use the ATF libraries, which is something that
has been frequently requested around here; nor it is possible to attach
arbitrary metadata to test programs from the Makefile, which is handy
particularly for ATF-less test programs.

For these reasons, consider this a transitional step.

Note that, with this change, you should now be able to use the 'kyua'
tool to run the tests in /usr/tests.
2013-02-23 22:01:51 +00:00
jmmv
edcb14a44e Install kyua-testers' distribution documents. 2013-02-23 14:58:11 +00:00
jmmv
89e4f17129 Register directories and files provided by kyua-cli. 2013-02-23 14:18:36 +00:00
jmmv
9c6c1d3b56 Install lutok's missing test_utils.hpp header file. 2013-02-22 15:14:29 +00:00
hans
93170f635e Use HOST_SH to run scripts. Makes mkimage work on SunOS. 2013-02-21 15:13:10 +00:00
christos
e7fd4058d5 Remove -s "stable" flag, since it is not posix. 2013-02-21 14:08:50 +00:00
riz
3d6cc52bac Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok
gzip.
2013-02-20 18:33:37 +00:00
jmmv
dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
christos
077ff08983 Use sort -s to get a stable sort, even if that is the default for ours. We
prolly need a TOOL_SORT...
2013-02-18 00:22:13 +00:00
christos
33dedf2c47 only do the keep last in update builds and explain why. 2013-02-18 00:00:55 +00:00
christos
656c32c03e keep only the last entry for each file, before sorting. 2013-02-17 23:56:52 +00:00
jmcneill
6d1c375231 gzcat -> zcat 2013-02-17 20:49:16 +00:00
htodd
fb225422ba Fix build by adding obsolete to files in /usr/tests/examples. 2013-02-17 04:36:07 +00:00
jmmv
7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv
8f212f1945 Move tests for examples from tests/examples to tests/share/examples.
This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
2013-02-16 12:44:25 +00:00
jmmv
e840b8037e Fix debug entries after the import of atf 0.17. 2013-02-15 22:14:21 +00:00
jmmv
0a00e59342 Install lua.hpp. 2013-02-15 20:07:00 +00:00
jmmv
88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
jmmv
c810df40be Update file lists for atf 0.17. 2013-02-15 17:09:07 +00:00
christos
1b766d2e25 don't use [ -f $i ] && cat $i, since we are using -e 2013-02-15 00:13:06 +00:00
matt
b6828562f6 Add missing libnetpgpverify.so 2013-02-14 00:52:03 +00:00
jmcneill
fcc410b7f2 add extra space to root partition 2013-02-12 12:45:12 +00:00
jmcneill
fbdc5d584c create /proc and /kern 2013-02-12 12:04:39 +00:00
jmcneill
bdad5df232 set -e 2013-02-11 18:11:20 +00:00
jmcneill
946e7a0ac0 set rc_configured=YES and a hostname 2013-02-10 23:37:32 +00:00
christos
84914efcd2 start with the original rc.conf 2013-02-10 23:28:19 +00:00
jmcneill
688db5d3b9 dont use echo -n 2013-02-10 21:51:53 +00:00
jmcneill
f27066f7f8 set src= before pulling in host config 2013-02-10 21:51:05 +00:00
jmcneill
8d6503c8a0 no sh -x 2013-02-10 16:56:38 +00:00
jmcneill
0c9570f8f3 fix msdos mbr partition size calculation 2013-02-10 16:56:01 +00:00
christos
3a09eb2df7 don't dup -F 2013-02-10 16:13:23 +00:00
christos
5f6d18eead no objmachine by default. 2013-02-10 16:13:00 +00:00
christos
c4b361419a add -F to fdisk 2013-02-10 16:12:37 +00:00
christos
5e2ed7b35e remove trailing whitespace from EOF 2013-02-10 16:06:24 +00:00
jmcneill
c399bff929 make sure kernel is installed as netbsd.ub 2013-02-10 15:56:57 +00:00
christos
a744bfd880 mass -N db to makefs too 2013-02-10 15:51:59 +00:00
christos
c7678cc71d specify a database for mtree. 2013-02-10 15:45:33 +00:00
jmcneill
d46a4c5ba4 dont call mtree directly 2013-02-10 15:35:34 +00:00
christos
da71c141ee really calling disklabel with the arguments of fdisk does not work. 2013-02-10 03:09:07 +00:00
christos
c4c65e1ca7 - remove dup trap
- compare size to 0 for autosizing
- remove .gz file before compressing.
2013-02-10 02:09:47 +00:00
christos
2ef0e4eae7 add compression support. 2013-02-10 01:28:42 +00:00
christos
fec034cae5 handle renaming and uncompressing the kernel 2013-02-09 20:47:46 +00:00
christos
2b70ceaf90 add tool hooks. 2013-02-09 18:50:11 +00:00
christos
67dc09847c libmesa needs the lib prefix because it is used in LIBDPLIBS 2013-02-09 17:17:36 +00:00
jmcneill
473f858720 fix usage again -- -D specifies destdir not releasedir
include conf/${h}.conf not conf/rpi.conf
fix ./mkimage: line 110: "7" - 1 : syntax error: operand expected (error token is ""7" - 1 ")
2013-02-09 11:20:56 +00:00
jmcneill
eb893c8eed keep beagleboard conf in sync with rpi 2013-02-09 11:19:55 +00:00
jmcneill
35ad314c0b fix usage 2013-02-09 11:15:14 +00:00
jmcneill
5dd616cd7a add missing } 2013-02-09 11:07:26 +00:00
christos
abb21374ec change to take the full kernel path 2013-02-08 19:16:53 +00:00