Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Autogenerate Kyuafiles next to Atffiles when MKKYUA is set.
details: https://anonhg.NetBSD.org/src/rev/33121fe7a2bf
branches: trunk
changeset: 785113:33121fe7a2bf
user: jmmv <jmmv%NetBSD.org@localhost>
date: Sat Feb 23 22:01:51 2013 +0000
description:
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.
diffstat:
distrib/sets/lists/tests/mi | 197 ++++++++++++++++++++++++++++++++++++-
distrib/sets/lists/tests/module.mi | 3 +-
share/mk/bsd.test.mk | 46 ++++++++-
3 files changed, 242 insertions(+), 4 deletions(-)
diffs (truncated from 1207 to 300 lines):
diff -r 03a1a49e6c08 -r 33121fe7a2bf distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi Sat Feb 23 21:20:14 2013 +0000
+++ b/distrib/sets/lists/tests/mi Sat Feb 23 22:01:51 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.521 2013/02/23 14:18:39 jmmv Exp $
+# $NetBSD: mi,v 1.522 2013/02/23 22:01:51 jmmv Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -165,10 +165,13 @@
./usr/libdata/debug/usr/tests/util/systrace tests-obsolete obsolete
./usr/tests tests-base-tests
./usr/tests/Atffile tests-base-tests
+./usr/tests/Kyuafile tests-base-tests kyua
./usr/tests/atf tests-atf-tests
./usr/tests/atf/Atffile tests-atf-tests atf
+./usr/tests/atf/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-c tests-atf-tests
./usr/tests/atf/atf-c/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-c/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-c/atf_c_test tests-atf-tests atf
./usr/tests/atf/atf-c/build_test tests-atf-tests atf
./usr/tests/atf/atf-c/check_test tests-atf-tests atf
@@ -200,6 +203,7 @@
./usr/tests/atf/atf-c/d_use_macros_h.c tests-obsolete obsolete
./usr/tests/atf/atf-c/detail tests-atf-tests
./usr/tests/atf/atf-c/detail/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-c/detail/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-c/detail/dynstr_test tests-atf-tests atf
./usr/tests/atf/atf-c/detail/env_test tests-atf-tests atf
./usr/tests/atf/atf-c/detail/fs_test tests-atf-tests atf
@@ -258,6 +262,7 @@
./usr/tests/atf/atf-c/utils_test tests-atf-tests atf
./usr/tests/atf/atf-c++ tests-atf-tests
./usr/tests/atf/atf-c++/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-c++/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-c++/application_test tests-obsolete obsolete
./usr/tests/atf/atf-c++/atf_c++_test tests-atf-tests atf
./usr/tests/atf/atf-c++/build_test tests-atf-tests atf
@@ -288,6 +293,7 @@
./usr/tests/atf/atf-c++/d_use_macros_hpp.cpp tests-obsolete obsolete
./usr/tests/atf/atf-c++/detail tests-atf-tests
./usr/tests/atf/atf-c++/detail/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-c++/detail/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-c++/detail/application_test tests-atf-tests atf
./usr/tests/atf/atf-c++/detail/auto_array_test tests-atf-tests atf
./usr/tests/atf/atf-c++/detail/env_test tests-atf-tests atf
@@ -353,10 +359,12 @@
./usr/tests/atf/atf-compile/t_integration tests-obsolete obsolete
./usr/tests/atf/atf-config tests-atf-tests
./usr/tests/atf/atf-config/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-config/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-config/integration_test tests-atf-tests atf
./usr/tests/atf/atf-config/t_integration tests-obsolete obsolete
./usr/tests/atf/atf-report tests-atf-tests
./usr/tests/atf/atf-report/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-report/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-report/fail_helper tests-atf-tests atf
./usr/tests/atf/atf-report/h_fail tests-obsolete obsolete
./usr/tests/atf/atf-report/h_misc tests-obsolete obsolete
@@ -369,6 +377,7 @@
./usr/tests/atf/atf-report/t_integration tests-obsolete obsolete
./usr/tests/atf/atf-run tests-atf-tests
./usr/tests/atf/atf-run/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-run/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-run/atffile_test tests-atf-tests atf
./usr/tests/atf/atf-run/bad_metadata_helper tests-atf-tests atf
./usr/tests/atf/atf-run/config_test tests-atf-tests atf
@@ -396,6 +405,7 @@
./usr/tests/atf/atf-run/zero_tcs_helper tests-atf-tests atf
./usr/tests/atf/atf-sh tests-atf-tests
./usr/tests/atf/atf-sh/Atffile tests-atf-tests atf
+./usr/tests/atf/atf-sh/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/atf-sh/atf-check_test tests-atf-tests atf
./usr/tests/atf/atf-sh/atf_check_test tests-atf-tests atf
./usr/tests/atf/atf-sh/config_test tests-atf-tests atf
@@ -667,6 +677,7 @@
./usr/tests/atf/sh_interface/t_tp tests-obsolete obsolete
./usr/tests/atf/test-programs tests-atf-tests
./usr/tests/atf/test-programs/Atffile tests-atf-tests atf
+./usr/tests/atf/test-programs/Kyuafile tests-atf-tests atf,kyua
./usr/tests/atf/test-programs/c_helpers tests-atf-tests atf
./usr/tests/atf/test-programs/config_test tests-atf-tests atf
./usr/tests/atf/test-programs/cpp_helpers tests-atf-tests atf
@@ -719,36 +730,46 @@
./usr/tests/atf/units/t_utils tests-obsolete obsolete
./usr/tests/bin tests-bin-tests
./usr/tests/bin/Atffile tests-bin-tests atf
+./usr/tests/bin/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/cat tests-bin-tests
./usr/tests/bin/cat/Atffile tests-bin-tests atf
+./usr/tests/bin/cat/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/cat/d_align.in tests-bin-tests atf
./usr/tests/bin/cat/d_align.out tests-bin-tests atf
./usr/tests/bin/cat/t_cat tests-bin-tests atf
./usr/tests/bin/cp tests-bin-tests
./usr/tests/bin/cp/Atffile tests-bin-tests atf
+./usr/tests/bin/cp/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/cp/t_cp tests-bin-tests atf
./usr/tests/bin/dd tests-bin-tests
./usr/tests/bin/dd/Atffile tests-bin-tests atf
+./usr/tests/bin/dd/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/dd/t_dd tests-bin-tests atf
./usr/tests/bin/df tests-bin-tests
./usr/tests/bin/df/Atffile tests-bin-tests atf
+./usr/tests/bin/df/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/df/h_df tests-bin-tests atf
./usr/tests/bin/df/t_df tests-bin-tests atf
./usr/tests/bin/expr tests-bin-tests
./usr/tests/bin/expr/Atffile tests-bin-tests atf
+./usr/tests/bin/expr/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/expr/t_expr tests-bin-tests atf
./usr/tests/bin/pax tests-bin-tests
./usr/tests/bin/pax/Atffile tests-bin-tests atf
+./usr/tests/bin/pax/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/pax/t_pax tests-bin-tests atf
./usr/tests/bin/ps tests-bin-tests
./usr/tests/bin/ps/Atffile tests-bin-tests atf
+./usr/tests/bin/ps/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/ps/keywords tests-bin-tests atf
./usr/tests/bin/ps/t_ps tests-bin-tests atf
./usr/tests/bin/sleep tests-bin-tests
./usr/tests/bin/sleep/Atffile tests-bin-tests atf
+./usr/tests/bin/sleep/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/sleep/t_sleep tests-bin-tests atf
./usr/tests/bin/sh tests-bin-tests
./usr/tests/bin/sh/Atffile tests-bin-tests atf
+./usr/tests/bin/sh/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/sh/t_compexit tests-bin-tests atf
./usr/tests/bin/sh/t_evaltested tests-bin-tests atf
./usr/tests/bin/sh/t_exit tests-bin-tests atf
@@ -761,11 +782,14 @@
./usr/tests/bin/sh/t_wait tests-bin-tests atf
./usr/tests/bin/tar tests-bin-tests
./usr/tests/bin/tar/Atffile tests-bin-tests atf
+./usr/tests/bin/tar/Kyuafile tests-bin-tests atf,kyua
./usr/tests/bin/tar/t_tar tests-bin-tests atf
./usr/tests/crypto tests-crypto-tests
./usr/tests/crypto/Atffile tests-crypto-tests
+./usr/tests/crypto/Kyuafile tests-crypto-tests kyua
./usr/tests/crypto/libcrypto tests-crypto-tests
./usr/tests/crypto/libcrypto/Atffile tests-crypto-tests crypto
+./usr/tests/crypto/libcrypto/Kyuafile tests-crypto-tests crypto,kyua
./usr/tests/crypto/libcrypto/d_conf.out tests-crypto-tests crypto
./usr/tests/crypto/libcrypto/d_conf_ssleay.cnf tests-crypto-tests crypto
./usr/tests/crypto/libcrypto/d_client.pem tests-crypto-tests crypto
@@ -810,13 +834,16 @@
./usr/tests/crypto/libcrypto/t_pubkey tests-crypto-tests crypto
./usr/tests/dev tests-fs-tests
./usr/tests/dev/Atffile tests-fs-tests atf
+./usr/tests/dev/Kyuafile tests-fs-tests atf,kyua
./usr/tests/dev/audio tests-fs-tests
./usr/tests/dev/audio/Atffile tests-fs-tests atf,rump
+./usr/tests/dev/audio/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/dev/audio/h_pad tests-fs-tests atf,rump
./usr/tests/dev/audio/t_pad tests-fs-tests atf,rump
./usr/tests/dev/audio/t_pad_output.bz2.uue tests-fs-tests atf,rump
./usr/tests/dev/cgd tests-fs-tests
./usr/tests/dev/cgd/Atffile tests-fs-tests atf
+./usr/tests/dev/cgd/Kyuafile tests-fs-tests atf,kyua
./usr/tests/dev/cgd/t_cgd tests-fs-tests atf
./usr/tests/dev/cgd/paramsfile tests-fs-tests atf
./usr/tests/dev/cgd/h_img2cgd tests-obsolete obsolete
@@ -824,16 +851,20 @@
./usr/tests/dev/cgd/h_img2cgd/cgd.conf tests-obsolete obsolete
./usr/tests/dev/md tests-fs-tests
./usr/tests/dev/md/Atffile tests-fs-tests atf,rump
+./usr/tests/dev/md/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/dev/md/h_mdserv tests-fs-tests atf,rump
./usr/tests/dev/md/t_md tests-fs-tests atf,rump
./usr/tests/dev/raidframe tests-fs-tests
./usr/tests/dev/raidframe/Atffile tests-fs-tests atf
+./usr/tests/dev/raidframe/Kyuafile tests-fs-tests atf,kyua
./usr/tests/dev/raidframe/t_raid tests-fs-tests atf
./usr/tests/dev/scsipi tests-fs-tests
./usr/tests/dev/scsipi/Atffile tests-fs-tests atf,rump
+./usr/tests/dev/scsipi/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/dev/scsipi/t_cd tests-fs-tests atf,rump
./usr/tests/dev/sysmon tests-fs-tests
./usr/tests/dev/sysmon/Atffile tests-fs-tests atf,rump
+./usr/tests/dev/sysmon/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/dev/sysmon/t_swsensor tests-fs-tests atf,rump
./usr/tests/dev/sysmon/t_swwdog tests-fs-tests atf,rump
./usr/tests/examples tests-obsolete obsolete
@@ -841,9 +872,11 @@
./usr/tests/examples/t_asm tests-obsolete obsolete
./usr/tests/fs tests-fs-tests
./usr/tests/fs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/h_funcs.subr tests-fs-tests atf,rump
./usr/tests/fs/ffs tests-fs-tests
./usr/tests/fs/ffs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/ffs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/ffs/h_ffs_server tests-fs-tests atf,rump
./usr/tests/fs/ffs/h_quota2_server tests-obsolete obsolete
./usr/tests/fs/ffs/h_quota2_tests tests-fs-tests atf,rump
@@ -866,22 +899,28 @@
./usr/tests/fs/ffs/t_snapshot_v2 tests-fs-tests atf,rump
./usr/tests/fs/fifofs tests-fs-tests
./usr/tests/fs/fifofs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/fifofs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/fifofs/t_fifo tests-fs-tests atf,rump
./usr/tests/fs/hfs tests-fs-tests
./usr/tests/fs/hfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/hfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/hfs/colon.hfs.bz2.uue tests-fs-tests atf,rump
./usr/tests/fs/hfs/t_pathconvert tests-fs-tests atf,rump
./usr/tests/fs/kernfs tests-fs-tests
./usr/tests/fs/kernfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/kernfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/kernfs/t_basic tests-fs-tests atf,rump
./usr/tests/fs/lfs tests-fs-tests
./usr/tests/fs/lfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/lfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/lfs/t_pr tests-fs-tests atf,rump
./usr/tests/fs/msdosfs tests-fs-tests
./usr/tests/fs/msdosfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/msdosfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/msdosfs/t_snapshot tests-fs-tests atf,rump
./usr/tests/fs/nfs tests-fs-tests
./usr/tests/fs/nfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/nfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/nfs/t_mountd tests-fs-tests atf,rump
./usr/tests/fs/nfs/t_rquotad tests-fs-tests atf,rump
./usr/tests/fs/nfs/nfsservice tests-fs-tests
@@ -889,9 +928,11 @@
./usr/tests/fs/nfs/nfsservice/rumpnfsd tests-fs-tests atf,rump
./usr/tests/fs/nullfs tests-fs-tests
./usr/tests/fs/nullfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/nullfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/nullfs/t_basic tests-fs-tests atf,rump
./usr/tests/fs/psshfs tests-fs-tests
./usr/tests/fs/psshfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/psshfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/psshfs/h_have_puffs tests-fs-tests atf,rump
./usr/tests/fs/psshfs/ssh_config.in tests-fs-tests atf,rump
./usr/tests/fs/psshfs/ssh_host_key tests-fs-tests atf,rump
@@ -900,10 +941,12 @@
./usr/tests/fs/psshfs/t_psshfs tests-fs-tests atf,rump
./usr/tests/fs/ptyfs tests-fs-tests
./usr/tests/fs/ptyfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/ptyfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/ptyfs/t_ptyfs tests-fs-tests atf,rump
./usr/tests/fs/ptyfs/t_nullpts tests-fs-tests atf,rump
./usr/tests/fs/puffs tests-fs-tests
./usr/tests/fs/puffs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/puffs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/puffs/t_basic tests-fs-tests atf,rump
./usr/tests/fs/puffs/t_fuzz tests-fs-tests atf,rump
./usr/tests/fs/puffs/t_io tests-fs-tests atf,rump
@@ -917,6 +960,7 @@
./usr/tests/fs/puffs/t_psshfs tests-obsolete obsolete
./usr/tests/fs/tmpfs tests-fs-tests
./usr/tests/fs/tmpfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/tmpfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/tmpfs/h_funcs.subr tests-fs-tests atf,rump
./usr/tests/fs/tmpfs/h_tools tests-fs-tests atf,rump
./usr/tests/fs/tmpfs/t_create tests-fs-tests atf,rump
@@ -947,13 +991,16 @@
./usr/tests/fs/tmpfs/t_vnode_leak tests-fs-tests atf,rump
./usr/tests/fs/umapfs tests-fs-tests
./usr/tests/fs/umapfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/umapfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/umapfs/t_basic tests-fs-tests atf,rump
./usr/tests/fs/union tests-fs-tests
./usr/tests/fs/union/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/union/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/union/t_basic tests-obsolete obsolete,rump
./usr/tests/fs/union/t_pr tests-fs-tests atf,rump
./usr/tests/fs/vfs tests-fs-tests
./usr/tests/fs/vfs/Atffile tests-fs-tests atf,rump
+./usr/tests/fs/vfs/Kyuafile tests-fs-tests atf,rump,kyua
./usr/tests/fs/vfs/t_full tests-fs-tests atf,rump
./usr/tests/fs/vfs/t_io tests-fs-tests atf,rump
./usr/tests/fs/vfs/t_renamerace tests-fs-tests atf,rump
@@ -965,12 +1012,15 @@
./usr/tests/fs/vfs/t_vnops tests-fs-tests atf,rump
./usr/tests/fs/zfs tests-fs-tests
./usr/tests/fs/zfs/Atffile tests-fs-tests atf,zfs,rump
+./usr/tests/fs/zfs/Kyuafile tests-fs-tests atf,zfs,rump,kyua
./usr/tests/fs/zfs/t_zpool tests-fs-tests atf,zfs,rump
./usr/tests/games tests-games-tests
./usr/tests/games/Atffile tests-games-tests
+./usr/tests/games/Kyuafile tests-games-tests kyua
./usr/tests/games/t_factor tests-games-tests
./usr/tests/include tests-include-tests
./usr/tests/include/Atffile tests-include-tests atf
+./usr/tests/include/Kyuafile tests-include-tests atf,kyua
./usr/tests/include/d_bitstring_27.out tests-include-tests atf
./usr/tests/include/d_bitstring_32.out tests-include-tests atf
./usr/tests/include/d_bitstring_49.out tests-include-tests atf
@@ -979,9 +1029,11 @@
./usr/tests/include/d_bitstring_8.out tests-include-tests atf
./usr/tests/include/machine tests-include-tests
./usr/tests/include/machine/Atffile tests-include-tests atf
+./usr/tests/include/machine/Kyuafile tests-include-tests atf,kyua
./usr/tests/include/machine/t_bswap tests-include-tests atf
./usr/tests/include/sys tests-include-tests
./usr/tests/include/sys/Atffile tests-include-tests atf
+./usr/tests/include/sys/Kyuafile tests-include-tests atf,kyua
Home |
Main Index |
Thread Index |
Old Index