From 4ddbe5ac37b907100856114354f29b92e8d8155c Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sat, 28 Feb 2015 23:30:06 +0000 Subject: Add infrastructure to integrate the DTrace test suite with Kyua. For each test category, we generate a script containing ATF test cases for the tests under that category. Each test case simply runs dtest.pl (the upstream test harness) with the corresponding test files. The exclude.sh script is used to record info about tests which should be skipped or are expected to fail; it is used to generate atf_skip and atf_expect_fail calls. The genmakefiles.sh script can be used to regenerate the test makefiles when new tests are brought it from upstream. The test suite is currently not connected to the build as there is a small number of lingering test issues which still need to be worked out. In the meantime however, the test suite can be easily built and installed manually from cddl/usr.sbin/dtrace/tests. Reviewed by: ngie Sponsored by: EMC / Isilon Storage Division --- cddl/usr.sbin/dtrace/tests/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/Makefile.inc1 | 53 ++++++ cddl/usr.sbin/dtrace/tests/common/Makefile | 91 ++++++++++ cddl/usr.sbin/dtrace/tests/common/aggs/Makefile | 189 ++++++++++++++++++++ .../dtrace/tests/common/arithmetic/Makefile | 32 ++++ cddl/usr.sbin/dtrace/tests/common/arrays/Makefile | 29 +++ cddl/usr.sbin/dtrace/tests/common/assocs/Makefile | 32 ++++ cddl/usr.sbin/dtrace/tests/common/begin/Makefile | 22 +++ .../dtrace/tests/common/bitfields/Makefile | 26 +++ .../dtrace/tests/common/buffering/Makefile | 37 ++++ .../dtrace/tests/common/builtinvar/Makefile | 48 +++++ cddl/usr.sbin/dtrace/tests/common/cg/Makefile | 18 ++ cddl/usr.sbin/dtrace/tests/common/clauses/Makefile | 26 +++ cddl/usr.sbin/dtrace/tests/common/cpc/Makefile | 27 +++ cddl/usr.sbin/dtrace/tests/common/decls/Makefile | 30 ++++ .../dtrace/tests/common/docsExamples/Makefile | 32 ++++ cddl/usr.sbin/dtrace/tests/common/drops/Makefile | 24 +++ .../dtrace/tests/common/dtraceUtil/Makefile | 118 +++++++++++++ cddl/usr.sbin/dtrace/tests/common/end/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/enum/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/error/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/exit/Makefile | 19 ++ .../dtrace/tests/common/fbtprovider/Makefile | 26 +++ cddl/usr.sbin/dtrace/tests/common/funcs/Makefile | 113 ++++++++++++ cddl/usr.sbin/dtrace/tests/common/grammar/Makefile | 20 +++ cddl/usr.sbin/dtrace/tests/common/include/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/inline/Makefile | 28 +++ cddl/usr.sbin/dtrace/tests/common/io/Makefile | 18 ++ cddl/usr.sbin/dtrace/tests/common/ip/Makefile | 36 ++++ .../usr.sbin/dtrace/tests/common/java_api/Makefile | 44 +++++ cddl/usr.sbin/dtrace/tests/common/json/Makefile | 23 +++ cddl/usr.sbin/dtrace/tests/common/lexer/Makefile | 30 ++++ .../dtrace/tests/common/llquantize/Makefile | 50 ++++++ cddl/usr.sbin/dtrace/tests/common/mdb/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/mib/Makefile | 19 ++ cddl/usr.sbin/dtrace/tests/common/misc/Makefile | 30 ++++ .../dtrace/tests/common/multiaggs/Makefile | 34 ++++ cddl/usr.sbin/dtrace/tests/common/nfs/Makefile | 19 ++ .../usr.sbin/dtrace/tests/common/offsetof/Makefile | 28 +++ .../dtrace/tests/common/operators/Makefile | 18 ++ cddl/usr.sbin/dtrace/tests/common/pid/Makefile | 69 ++++++++ .../dtrace/tests/common/plockstat/Makefile | 19 ++ .../usr.sbin/dtrace/tests/common/pointers/Makefile | 48 +++++ cddl/usr.sbin/dtrace/tests/common/pragma/Makefile | 30 ++++ .../dtrace/tests/common/predicates/Makefile | 25 +++ .../dtrace/tests/common/preprocessor/Makefile | 53 ++++++ cddl/usr.sbin/dtrace/tests/common/print/Makefile | 32 ++++ cddl/usr.sbin/dtrace/tests/common/printa/Makefile | 40 +++++ cddl/usr.sbin/dtrace/tests/common/printf/Makefile | 68 ++++++++ cddl/usr.sbin/dtrace/tests/common/privs/Makefile | 23 +++ cddl/usr.sbin/dtrace/tests/common/probes/Makefile | 36 ++++ cddl/usr.sbin/dtrace/tests/common/proc/Makefile | 30 ++++ .../dtrace/tests/common/profile-n/Makefile | 53 ++++++ .../dtrace/tests/common/providers/Makefile | 44 +++++ cddl/usr.sbin/dtrace/tests/common/raise/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/rates/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/safety/Makefile | 54 ++++++ cddl/usr.sbin/dtrace/tests/common/scalars/Makefile | 35 ++++ cddl/usr.sbin/dtrace/tests/common/sched/Makefile | 19 ++ .../dtrace/tests/common/scripting/Makefile | 49 ++++++ cddl/usr.sbin/dtrace/tests/common/sdt/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/sizeof/Makefile | 31 ++++ .../dtrace/tests/common/speculation/Makefile | 75 ++++++++ .../dtrace/tests/common/stability/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/stack/Makefile | 22 +++ .../dtrace/tests/common/stackdepth/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/stop/Makefile | 19 ++ cddl/usr.sbin/dtrace/tests/common/strlen/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/common/strtoll/Makefile | 20 +++ cddl/usr.sbin/dtrace/tests/common/struct/Makefile | 31 ++++ cddl/usr.sbin/dtrace/tests/common/syscall/Makefile | 18 ++ .../usr.sbin/dtrace/tests/common/sysevent/Makefile | 19 ++ cddl/usr.sbin/dtrace/tests/common/tick-n/Makefile | 38 ++++ cddl/usr.sbin/dtrace/tests/common/trace/Makefile | 24 +++ .../usr.sbin/dtrace/tests/common/tracemem/Makefile | 26 +++ .../dtrace/tests/common/translators/Makefile | 51 ++++++ cddl/usr.sbin/dtrace/tests/common/typedef/Makefile | 21 +++ cddl/usr.sbin/dtrace/tests/common/types/Makefile | 69 ++++++++ cddl/usr.sbin/dtrace/tests/common/uctf/Makefile | 41 +++++ cddl/usr.sbin/dtrace/tests/common/union/Makefile | 27 +++ cddl/usr.sbin/dtrace/tests/common/usdt/Makefile | 65 +++++++ cddl/usr.sbin/dtrace/tests/common/ustack/Makefile | 20 +++ cddl/usr.sbin/dtrace/tests/common/vars/Makefile | 23 +++ cddl/usr.sbin/dtrace/tests/common/version/Makefile | 17 ++ cddl/usr.sbin/dtrace/tests/tools/exclude.sh | 194 +++++++++++++++++++++ cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh | 85 +++++++++ cddl/usr.sbin/dtrace/tests/tools/gentest.sh | 110 ++++++++++++ etc/mtree/BSD.tests.dist | 162 +++++++++++++++++ 88 files changed, 3548 insertions(+) create mode 100644 cddl/usr.sbin/dtrace/tests/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/Makefile.inc1 create mode 100644 cddl/usr.sbin/dtrace/tests/common/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/aggs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/arrays/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/assocs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/begin/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/buffering/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/cg/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/clauses/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/cpc/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/decls/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/drops/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/end/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/enum/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/error/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/exit/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/funcs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/grammar/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/include/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/inline/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/io/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/ip/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/java_api/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/json/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/lexer/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/mdb/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/mib/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/misc/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/nfs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/operators/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/pid/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/pointers/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/pragma/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/predicates/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/print/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/printa/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/printf/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/privs/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/probes/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/proc/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/providers/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/raise/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/rates/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/safety/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/scalars/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/sched/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/scripting/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/sdt/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/sizeof/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/speculation/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/stability/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/stack/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/stackdepth/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/stop/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/strlen/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/strtoll/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/struct/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/syscall/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/sysevent/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/tick-n/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/trace/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/tracemem/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/translators/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/typedef/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/types/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/uctf/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/union/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/usdt/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/ustack/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/vars/Makefile create mode 100644 cddl/usr.sbin/dtrace/tests/common/version/Makefile create mode 100755 cddl/usr.sbin/dtrace/tests/tools/exclude.sh create mode 100755 cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh create mode 100755 cddl/usr.sbin/dtrace/tests/tools/gentest.sh diff --git a/cddl/usr.sbin/dtrace/tests/Makefile b/cddl/usr.sbin/dtrace/tests/Makefile new file mode 100644 index 000000000000..252b6be3472e --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +.include + +TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace +TESTS_SUBDIRS+= common + +.PATH: ${.CURDIR:H:H:H:H}/tests +KYUAFILE= YES + +.PATH: ${.CURDIR:H:H:H}/contrib/opensolaris/cmd/dtrace/test/cmd/scripts +SCRIPTSDIR= ${TESTSDIR} +SCRIPTS= dtest.pl + +SUBDIR_PARALLEL= + +.include diff --git a/cddl/usr.sbin/dtrace/tests/Makefile.inc1 b/cddl/usr.sbin/dtrace/tests/Makefile.inc1 new file mode 100644 index 000000000000..9600a30e7464 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/Makefile.inc1 @@ -0,0 +1,53 @@ +# $FreeBSD$ + +TESTGROUP= ${.CURDIR:H:T}/${.CURDIR:T} +TESTSRC= ${.CURDIR:H:H:H:H:H}/contrib/opensolaris/cmd/dtrace/test/tst/${TESTGROUP} +TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/${TESTGROUP} + +.if !defined(_RECURSING_PROGS) +FILESGROUPS+= FILES ${TESTGROUP} ${TESTGROUP}EXE + +${TESTGROUP}= ${TESTFILES} +${TESTGROUP}EXE= ${TESTEXES} +${TESTGROUP}EXEMODE= 0555 + +${TESTGROUP}DIR= ${TESTSDIR} +${TESTGROUP}EXEDIR= ${TESTSDIR} + +TESTWRAPPER= t_dtrace_contrib +ATF_TESTS_SH+= ${TESTWRAPPER} +TEST_METADATA.t_dtrace_contrib+= required_files="/usr/local/bin/perl" +TEST_METADATA.t_dtrace_contrib+= required_files="/usr/local/bin/ksh" +TEST_METADATA.t_dtrace_contrib+= required_user="root" + +GENTEST?= ${.CURDIR:H:H}/tools/gentest.sh +EXCLUDE= ${.CURDIR:H:H}/tools/exclude.sh +${TESTWRAPPER}.sh: ${GENTEST} ${EXCLUDE} ${${TESTGROUP}} + sh ${GENTEST} -e ${EXCLUDE} ${TESTGROUP} ${${TESTGROUP}:S/ */ /} > ${.TARGET} + +CLEANFILES+= ${TESTWRAPPER}.sh +.endif # !defined(_RECURSING_PROGS) + +.PATH: ${TESTSRC} + +PROGS= ${CFILES:T:S/.c$/.exe/g} +.for prog in ${PROGS} +SRCS.${prog}+= ${prog:S/.exe$/.c/} +BINDIR.${prog}= ${TESTSDIR} +MAN.${prog}= + +.if exists(${prog:S/^tst.//:S/.exe$/.d/}) +SRCS.${prog}+= ${prog:S/^tst.//:S/.exe$/.d/} +.endif +.endfor + +# Some tests depend on the internals of their corresponding test programs, +# so make sure the optimizer doesn't interfere with them. +CFLAGS+= -O0 + +# Test programs shouldn't be stripped; else we generally can't use the PID +# provider. +DEBUG_FLAGS= -g +STRIP= + +.include diff --git a/cddl/usr.sbin/dtrace/tests/common/Makefile b/cddl/usr.sbin/dtrace/tests/common/Makefile new file mode 100644 index 000000000000..02381c66e391 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/Makefile @@ -0,0 +1,91 @@ +# $FreeBSD$ + +# We exclude several subdirectories: nfs and sysevent do not compile on +# FreeBSD, and docsExamples doesn't seem amenable to automated testing. + +TESTSDIR= ${TESTSBASE}/cddl/usr.sbin/dtrace/common +TESTS_SUBDIRS+= aggs \ + arithmetic \ + arrays \ + assocs \ + begin \ + bitfields \ + buffering \ + builtinvar \ + cg \ + clauses \ + cpc \ + decls \ + drops \ + dtraceUtil \ + end \ + enum \ + error \ + exit \ + fbtprovider \ + funcs \ + grammar \ + include \ + inline \ + io \ + ip \ + java_api \ + json \ + lexer \ + llquantize \ + mdb \ + mib \ + misc \ + multiaggs \ + offsetof \ + operators \ + pid \ + plockstat \ + pointers \ + pragma \ + predicates \ + preprocessor \ + print \ + printa \ + printf \ + privs \ + probes \ + proc \ + profile-n \ + providers \ + raise \ + rates \ + safety \ + scalars \ + sched \ + scripting \ + sdt \ + sizeof \ + speculation \ + stability \ + stack \ + stackdepth \ + stop \ + strlen \ + strtoll \ + struct \ + syscall \ + tick-n \ + trace \ + tracemem \ + translators \ + typedef \ + types \ + uctf \ + union \ + usdt \ + ustack \ + vars \ + version \ + +.PATH: ${.CURDIR:H:H:H:H:H}/tests +KYUAFILE= YES + +SUBDIR_PARALLEL= + +.include diff --git a/cddl/usr.sbin/dtrace/tests/common/aggs/Makefile b/cddl/usr.sbin/dtrace/tests/common/aggs/Makefile new file mode 100644 index 000000000000..d8a5ef0bf980 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/aggs/Makefile @@ -0,0 +1,189 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_AGG_FUNC.bad.d \ + err.D_AGG_MDIM.bad.d \ + err.D_AGG_NULL.bad.d \ + err.D_AGG_REDEF.redef.d \ + err.D_AGG_SCALAR.avgtoofew.d \ + err.D_AGG_SCALAR.maxnoarg.d \ + err.D_AGG_SCALAR.mintoofew.d \ + err.D_AGG_SCALAR.quantizetoofew.d \ + err.D_AGG_SCALAR.stddevtoofew.d \ + err.D_AGG_SCALAR.sumtoofew.d \ + err.D_CLEAR_AGGARG.bad.d \ + err.D_CLEAR_PROTO.bad.d \ + err.D_FUNC_IDENT.bad.d \ + err.D_FUNC_UNDEF.badaggfunc.d \ + err.D_IDENT_UNDEF.badexpr.d \ + err.D_IDENT_UNDEF.badkey3.d \ + err.D_IDENT_UNDEF.noeffect.d \ + err.D_KEY_TYPE.badkey1.d \ + err.D_KEY_TYPE.badkey2.d \ + err.D_KEY_TYPE.badkey4.d \ + err.D_LQUANT_BASETYPE.lqbad1.d \ + err.D_LQUANT_BASETYPE.lqshort.d \ + err.D_LQUANT_BASEVAL.bad.d \ + err.D_LQUANT_LIMTYPE.lqbad1.d \ + err.D_LQUANT_LIMVAL.bad.d \ + err.D_LQUANT_MATCHBASE.d \ + err.D_LQUANT_MATCHBASE.order.d \ + err.D_LQUANT_MATCHLIM.d \ + err.D_LQUANT_MATCHLIM.order.d \ + err.D_LQUANT_MATCHSTEP.d \ + err.D_LQUANT_MISMATCH.lqbadarg.d \ + err.D_LQUANT_STEPLARGE.lqtoofew.d \ + err.D_LQUANT_STEPSMALL.bad.d \ + err.D_LQUANT_STEPTYPE.lqbadinc.d \ + err.D_LQUANT_STEPVAL.bad.d \ + err.D_NORMALIZE_AGGARG.bad.d \ + err.D_NORMALIZE_PROTO.bad.d \ + err.D_NORMALIZE_SCALAR.bad.d \ + err.D_PROTO_ARG.lquantizetoofew.d \ + err.D_PROTO_LEN.avgnoarg.d \ + err.D_PROTO_LEN.avgtoomany.d \ + err.D_PROTO_LEN.counttoomany.d \ + err.D_PROTO_LEN.lquantizenoarg.d \ + err.D_PROTO_LEN.lquantizetoomany.d \ + err.D_PROTO_LEN.maxnoarg.d \ + err.D_PROTO_LEN.maxtoomany.d \ + err.D_PROTO_LEN.minnoarg.d \ + err.D_PROTO_LEN.mintoomany.d \ + err.D_PROTO_LEN.quantizenoarg.d \ + err.D_PROTO_LEN.quantizetoomany.d \ + err.D_PROTO_LEN.stddevnoarg.d \ + err.D_PROTO_LEN.stddevtoomany.d \ + err.D_PROTO_LEN.sumnoarg.d \ + err.D_PROTO_LEN.sumtoomany.d \ + err.D_TRUNC_AGGARG.bad.d \ + err.D_TRUNC_PROTO.badmany.d \ + err.D_TRUNC_PROTO.badnone.d \ + err.D_TRUNC_SCALAR.bad.d \ + tst.aggencoding.d \ + tst.aggencoding.d.out \ + tst.agghist.d \ + tst.agghist.d.out \ + tst.aggpack.d \ + tst.aggpack.d.out \ + tst.aggpackbanner.ksh \ + tst.aggpackbanner.ksh.out \ + tst.aggpackzoom.d \ + tst.aggpackzoom.d.out \ + tst.aggzoom.d \ + tst.aggzoom.d.out \ + tst.allquant.d \ + tst.allquant.d.out \ + tst.avg.d \ + tst.avg.d.out \ + tst.avg_neg.d \ + tst.avg_neg.d.out \ + tst.clear.d \ + tst.clear.d.out \ + tst.clearavg.d \ + tst.clearavg.d.out \ + tst.clearavg2.d \ + tst.clearavg2.d.out \ + tst.cleardenormalize.d \ + tst.cleardenormalize.d.out \ + tst.clearlquantize.d \ + tst.clearlquantize.d.out \ + tst.clearnormalize.d \ + tst.clearnormalize.d.out \ + tst.clearstddev.d \ + tst.clearstddev.d.out \ + tst.count.d \ + tst.count.d.out \ + tst.count2.d \ + tst.count2.d.out \ + tst.count3.d \ + tst.denormalize.d \ + tst.denormalize.d.out \ + tst.denormalizeonly.d \ + tst.denormalizeonly.d.out \ + tst.fmtnormalize.d \ + tst.fmtnormalize.d.out \ + tst.forms.d \ + tst.forms.d.out \ + tst.goodkey.d \ + tst.keysort.d \ + tst.keysort.d.out \ + tst.lquantize.d \ + tst.lquantize.d.out \ + tst.lquantnormal.d \ + tst.lquantnormal.d.out \ + tst.lquantrange.d \ + tst.lquantrange.d.out \ + tst.lquantround.d \ + tst.lquantround.d.out \ + tst.lquantzero.d \ + tst.lquantzero.d.out \ + tst.max.d \ + tst.max.d.out \ + tst.max_neg.d \ + tst.max_neg.d.out \ + tst.min.d \ + tst.min.d.out \ + tst.min_neg.d \ + tst.min_neg.d.out \ + tst.multiaggs1.d \ + tst.multiaggs2.d \ + tst.multiaggs2.d.out \ + tst.multiaggs3.d \ + tst.multiaggs3.d.out \ + tst.multinormalize.d \ + tst.multinormalize.d.out \ + tst.neglquant.d \ + tst.neglquant.d.out \ + tst.negorder.d \ + tst.negorder.d.out \ + tst.negquant.d \ + tst.negquant.d.out \ + tst.negtrunc.d \ + tst.negtrunc.d.out \ + tst.negtruncquant.d \ + tst.negtruncquant.d.out \ + tst.normalize.d \ + tst.normalize.d.out \ + tst.order.d \ + tst.order.d.out \ + tst.quantize.d \ + tst.quantize.d.out \ + tst.quantmany.d \ + tst.quantmany.d.out \ + tst.quantround.d \ + tst.quantround.d.out \ + tst.quantzero.d \ + tst.quantzero.d.out \ + tst.signature.d \ + tst.signedkeys.d \ + tst.signedkeys.d.out \ + tst.signedkeyspos.d \ + tst.signedkeyspos.d.out \ + tst.sizedkeys.d \ + tst.sizedkeys.d.out \ + tst.stddev.d \ + tst.stddev.d.out \ + tst.subr.d \ + tst.sum.d \ + tst.sum.d.out \ + tst.trunc.d \ + tst.trunc.d.out \ + tst.trunc0.d \ + tst.trunc0.d.out \ + tst.truncquant.d \ + tst.truncquant.d.out \ + tst.valsortkeypos.d \ + tst.valsortkeypos.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile b/cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile new file mode 100644 index 000000000000..7f1fa96cd872 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/arithmetic/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DIV_ZERO.divby0.d \ + err.D_DIV_ZERO.divby0_1.d \ + err.D_DIV_ZERO.divby0_2.d \ + err.D_DIV_ZERO.modby0.d \ + err.D_SYNTAX.addmin.d \ + err.D_SYNTAX.divmin.d \ + err.D_SYNTAX.muladd.d \ + err.D_SYNTAX.muldiv.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.compcast.d \ + tst.compcast.d.out \ + tst.compnarrowassign.d \ + tst.compnarrowassign.d.out \ + tst.execcast.d \ + tst.execcast.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/arrays/Makefile b/cddl/usr.sbin/dtrace/tests/common/arrays/Makefile new file mode 100644 index 000000000000..608388f4ce45 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/arrays/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ARR_BADREF.bad.d \ + err.D_DECL_ARRBIG.toobig.d \ + err.D_DECL_ARRNULL.bad.d \ + err.D_DECL_ARRSUB.bad.d \ + err.D_DECL_PROTO_TYPE.badtuple.d \ + err.D_IDENT_UNDEF.badureg.d \ + tst.basic1.d \ + tst.basic2.d \ + tst.basic3.d \ + tst.basic4.d \ + tst.basic5.d \ + tst.basic6.d \ + tst.uregsarray.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/assocs/Makefile b/cddl/usr.sbin/dtrace/tests/common/assocs/Makefile new file mode 100644 index 000000000000..5d20b611ca08 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/assocs/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_OP_INCOMPAT.dupgtype.d \ + err.D_OP_INCOMPAT.dupttype.d \ + err.D_OP_INCOMPAT.this.d \ + err.D_PROTO_ARG.badsig.d \ + err.D_PROTO_LEN.toofew.d \ + err.D_PROTO_LEN.toomany.d \ + err.D_SYNTAX.errassign.d \ + err.tupoflow.d \ + tst.cpyarray.d \ + tst.diffprofile.d \ + tst.initialize.d \ + tst.invalidref.d \ + tst.misc.d \ + tst.orthogonality.d \ + tst.this.d \ + tst.valassign.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/begin/Makefile b/cddl/usr.sbin/dtrace/tests/common/begin/Makefile new file mode 100644 index 000000000000..4437db9516e2 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/begin/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.begin.d \ + err.D_PDESC_ZERO.tick.d \ + tst.begin.d \ + tst.begin.d.out \ + tst.multibegin.d \ + tst.multibegin.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile b/cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile new file mode 100644 index 000000000000..838ad681ec45 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/bitfields/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ADDROF_BITFIELD.BitfieldAddress.d \ + err.D_DECL_BFCONST.NegBitField.d \ + err.D_DECL_BFCONST.ZeroBitField.d \ + err.D_DECL_BFSIZE.ExceedBaseType.d \ + err.D_DECL_BFSIZE.GreaterThan64.d \ + err.D_DECL_BFTYPE.badtype.d \ + err.D_OFFSETOF_BITFIELD.d \ + err.D_SIZEOF_BITFIELD.SizeofBitfield.d \ + tst.BitFieldPromotion.d \ + tst.SizeofBitField.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/buffering/Makefile b/cddl/usr.sbin/dtrace/tests/common/buffering/Makefile new file mode 100644 index 000000000000..7fe869bd2d4b --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/buffering/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.end.d \ + err.resize1.d \ + err.resize2.d \ + err.resize3.d \ + err.zerobuf.d \ + tst.alignring.d \ + tst.cputime.ksh \ + tst.dynvarsize.d \ + tst.fill1.d \ + tst.fill1.d.out \ + tst.resize1.d \ + tst.resize2.d \ + tst.resize3.d \ + tst.ring1.d \ + tst.ring2.d \ + tst.ring2.d.out \ + tst.ring3.d \ + tst.ring3.d.out \ + tst.smallring.d \ + tst.switch1.d \ + tst.switch1.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile b/cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile new file mode 100644 index 000000000000..b955be545b3f --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/builtinvar/Makefile @@ -0,0 +1,48 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_XLATE_NOCONV.cpuusage.d \ + err.D_XLATE_NOCONV.nice.d \ + err.D_XLATE_NOCONV.priority.d \ + err.D_XLATE_NOCONV.prsize.d \ + err.D_XLATE_NOCONV.rssize.d \ + tst.arg0.d \ + tst.arg0clause.d \ + tst.arg1.d \ + tst.arg1to8.d \ + tst.arg1to8clause.d \ + tst.caller.d \ + tst.caller1.d \ + tst.epid.d \ + tst.epid1.d \ + tst.errno.d \ + tst.errno1.d \ + tst.execname.d \ + tst.hpriority.d \ + tst.id.d \ + tst.id1.d \ + tst.ipl.d \ + tst.ipl1.d \ + tst.lwpsinfo.d \ + tst.lwpsinfo1.d \ + tst.pid.d \ + tst.pid1.d \ + tst.psinfo.d \ + tst.psinfo1.d \ + tst.tid.d \ + tst.tid1.d \ + tst.timestamp.d \ + tst.vtimestamp.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/cg/Makefile b/cddl/usr.sbin/dtrace/tests/common/cg/Makefile new file mode 100644 index 000000000000..5550a8e5e066 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/cg/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_NOREG.noreg.d \ + err.baddif.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/clauses/Makefile b/cddl/usr.sbin/dtrace/tests/common/clauses/Makefile new file mode 100644 index 000000000000..5d582f3e47ad --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/clauses/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_IDENT_UNDEF.aggfun.d \ + err.D_IDENT_UNDEF.aggtup.d \ + err.D_IDENT_UNDEF.arrtup.d \ + err.D_IDENT_UNDEF.body.d \ + err.D_IDENT_UNDEF.both.d \ + err.D_IDENT_UNDEF.pred.d \ + tst.nopred.d \ + tst.pred.d \ + tst.predfirst.d \ + tst.predlast.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/cpc/Makefile b/cddl/usr.sbin/dtrace/tests/common/cpc/Makefile new file mode 100644 index 000000000000..ad23c5a10713 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/cpc/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.lowfrequency.d \ + err.D_PDESC_ZERO.malformedoverflow.d \ + err.D_PDESC_ZERO.nonexistentevent.d \ + err.cpcvscpustatpart1.ksh \ + err.cpcvscpustatpart2.ksh \ + err.cputrackfailtostart.ksh \ + err.cputrackterminates.ksh \ + err.toomanyenablings.d \ + tst.allcpus.ksh \ + tst.genericevent.d \ + tst.platformevent.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/decls/Makefile b/cddl/usr.sbin/dtrace/tests/common/decls/Makefile new file mode 100644 index 000000000000..21544d901893 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/decls/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DECL_LOCASSC.NonLocalAssoc.d \ + err.D_DECL_LONGINT.LongStruct.d \ + err.D_DECL_PARMCLASS.BadStorageClass.d \ + err.D_DECL_PROTO_NAME.VoidName.d \ + err.D_DECL_PROTO_TYPE.Dyn.d \ + err.D_DECL_PROTO_VARARGS.VarLenArgs.d \ + err.D_DECL_PROTO_VOID.NonSoleVoid.d \ + err.D_DECL_SIGNINT.UnsignedStruct.d \ + err.D_DECL_VOIDATTR.ShortVoidDecl.d \ + tst.arrays.d \ + tst.basics.d \ + tst.funcs.d \ + tst.pointers.d \ + tst.varargsfuncs.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile b/cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile new file mode 100644 index 000000000000..621286244716 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/docsExamples/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + badptr.d \ + countdown.d \ + counter.d \ + errorpath.d \ + hello.d \ + kstat.d \ + ksyms.d \ + renormalize.d \ + rtime.d \ + rw.d \ + rwinfo.d \ + rwtime.d \ + specopen.d \ + truss.d \ + trussrw.d \ + userfunc.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/drops/Makefile b/cddl/usr.sbin/dtrace/tests/common/drops/Makefile new file mode 100644 index 000000000000..248c20117f22 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/drops/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + drp.DTRACEDROP_AGGREGATION.d \ + drp.DTRACEDROP_DBLERROR.d \ + drp.DTRACEDROP_DYNAMIC.d \ + drp.DTRACEDROP_PRINCIPAL.d \ + drp.DTRACEDROP_PRINCIPAL.end.d \ + drp.DTRACEDROP_SPEC.d \ + drp.DTRACEDROP_SPECUNAVAIL.d \ + drp.DTRACEDROP_STKSTROVERFLOW.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile b/cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile new file mode 100644 index 000000000000..60e65995ee32 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/dtraceUtil/Makefile @@ -0,0 +1,118 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.InvalidDescription1.d \ + man.APIVersion.d \ + man.AddSearchPath.d \ + man.CoalesceTrace.d \ + man.ELFGeneration.d \ + man.IncludedFilePath.d \ + man.ShowCompilerCode.d \ + man.VerboseStabilityReport.d \ + tst.AddSearchPath.d.ksh \ + tst.BufsizeGiga.d.ksh \ + tst.BufsizeKilo.d.ksh \ + tst.BufsizeMega.d.ksh \ + tst.BufsizeTera.d.ksh \ + tst.DataModel32.d.ksh \ + tst.DataModel64.d.ksh \ + tst.DefineNameWithCPP.d.ksh \ + tst.DefineNameWithCPP.d.ksh.out \ + tst.DestructWithFunction.d.ksh \ + tst.DestructWithFunction.d.ksh.out \ + tst.DestructWithID.d.ksh \ + tst.DestructWithID.d.ksh.out \ + tst.DestructWithModule.d.ksh \ + tst.DestructWithModule.d.ksh.out \ + tst.DestructWithName.d.ksh \ + tst.DestructWithName.d.ksh.out \ + tst.DestructWithProvider.d.ksh \ + tst.DestructWithProvider.d.ksh.out \ + tst.DestructWithoutW.d.ksh \ + tst.ELFGenerationOut.d.ksh \ + tst.ELFGenerationWithO.d.ksh \ + tst.ExitStatus1.d.ksh \ + tst.ExitStatus2.d.ksh \ + tst.ExtraneousProbeIds.d.ksh \ + tst.InvalidFuncName1.d.ksh \ + tst.InvalidFuncName2.d.ksh \ + tst.InvalidId1.d.ksh \ + tst.InvalidId2.d.ksh \ + tst.InvalidId3.d.ksh \ + tst.InvalidModule1.d.ksh \ + tst.InvalidModule2.d.ksh \ + tst.InvalidModule3.d.ksh \ + tst.InvalidModule4.d.ksh \ + tst.InvalidProbeIdentifier.d.ksh \ + tst.InvalidProvider1.d.ksh \ + tst.InvalidProvider2.d.ksh \ + tst.InvalidProvider3.d.ksh \ + tst.InvalidProvider4.d.ksh \ + tst.InvalidTraceFunc1.d.ksh \ + tst.InvalidTraceFunc2.d.ksh \ + tst.InvalidTraceFunc3.d.ksh \ + tst.InvalidTraceFunc4.d.ksh \ + tst.InvalidTraceFunc5.d.ksh \ + tst.InvalidTraceFunc6.d.ksh \ + tst.InvalidTraceFunc7.d.ksh \ + tst.InvalidTraceFunc8.d.ksh \ + tst.InvalidTraceFunc9.d.ksh \ + tst.InvalidTraceID1.d.ksh \ + tst.InvalidTraceID2.d.ksh \ + tst.InvalidTraceID3.d.ksh \ + tst.InvalidTraceID4.d.ksh \ + tst.InvalidTraceID5.d.ksh \ + tst.InvalidTraceID6.d.ksh \ + tst.InvalidTraceID7.d.ksh \ + tst.InvalidTraceModule1.d.ksh \ + tst.InvalidTraceModule2.d.ksh \ + tst.InvalidTraceModule3.d.ksh \ + tst.InvalidTraceModule4.d.ksh \ + tst.InvalidTraceModule5.d.ksh \ + tst.InvalidTraceModule6.d.ksh \ + tst.InvalidTraceModule7.d.ksh \ + tst.InvalidTraceModule8.d.ksh \ + tst.InvalidTraceName1.d.ksh \ + tst.InvalidTraceName2.d.ksh \ + tst.InvalidTraceName3.d.ksh \ + tst.InvalidTraceName4.d.ksh \ + tst.InvalidTraceName5.d.ksh \ + tst.InvalidTraceName6.d.ksh \ + tst.InvalidTraceName7.d.ksh \ + tst.InvalidTraceName8.d.ksh \ + tst.InvalidTraceName9.d.ksh \ + tst.InvalidTraceProvider1.d.ksh \ + tst.InvalidTraceProvider2.d.ksh \ + tst.InvalidTraceProvider3.d.ksh \ + tst.InvalidTraceProvider4.d.ksh \ + tst.InvalidTraceProvider5.d.ksh \ + tst.MultipleInvalidProbeId.d.ksh \ + tst.PreprocessorStatement.d.ksh \ + tst.QuietMode.d.ksh \ + tst.QuietMode.d.ksh.out \ + tst.TestCompile.d.ksh \ + tst.TestCompile.d.ksh.out \ + tst.UnDefineNameWithCPP.d.ksh \ + tst.ZeroFunctionProbes.d.ksh \ + tst.ZeroFunctionProbes.d.ksh.out \ + tst.ZeroModuleProbes.d.ksh \ + tst.ZeroModuleProbes.d.ksh.out \ + tst.ZeroNameProbes.d.ksh \ + tst.ZeroNameProbes.d.ksh.out \ + tst.ZeroProbeIdentfier.d.ksh \ + tst.ZeroProbesWithoutZ.d.ksh \ + tst.ZeroProviderProbes.d.ksh \ + tst.ZeroProviderProbes.d.ksh.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/end/Makefile b/cddl/usr.sbin/dtrace/tests/common/end/Makefile new file mode 100644 index 000000000000..120a0dd5c5cc --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/end/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_IDENT_UNDEF.timespent.d \ + tst.end.d \ + tst.endwithoutbegin.d \ + tst.multibeginend.d \ + tst.multiend.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/enum/Makefile b/cddl/usr.sbin/dtrace/tests/common/enum/Makefile new file mode 100644 index 000000000000..ee6ab1a476e4 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/enum/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DECL_IDRED.EnumSameName.d \ + err.D_UNKNOWN.RepeatIdentifiers.d \ + tst.EnumEquality.d \ + tst.EnumSameValue.d \ + tst.EnumValAssign.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/error/Makefile b/cddl/usr.sbin/dtrace/tests/common/error/Makefile new file mode 100644 index 000000000000..999e28ce893c --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/error/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.DTRACEFLT_BADADDR.d \ + tst.DTRACEFLT_DIVZERO.d \ + tst.DTRACEFLT_UNKNOWN.d \ + tst.error.d \ + tst.errorend.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/exit/Makefile b/cddl/usr.sbin/dtrace/tests/common/exit/Makefile new file mode 100644 index 000000000000..d5aa843a58ee --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/exit/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PROTO_LEN.noarg.d \ + err.exitarg1.d \ + tst.basic1.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile b/cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile new file mode 100644 index 000000000000..a84c38d84846 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/fbtprovider/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.notreturn.d \ + tst.basic.d \ + tst.functionentry.d \ + tst.functionreturnvalue.d \ + tst.ioctlargs.d \ + tst.offset.d \ + tst.offsetzero.d \ + tst.return.d \ + tst.return0.d \ + tst.tailcall.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/funcs/Makefile b/cddl/usr.sbin/dtrace/tests/common/funcs/Makefile new file mode 100644 index 000000000000..4a76912729c3 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/funcs/Makefile @@ -0,0 +1,113 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_FUNC_UNDEF.progenyofbad1.d \ + err.D_OP_VFPTR.badop.d \ + err.D_PROTO_ARG.chillbadarg.d \ + err.D_PROTO_ARG.copyoutbadarg.d \ + err.D_PROTO_ARG.mobadarg.d \ + err.D_PROTO_ARG.raisebadarg.d \ + err.D_PROTO_ARG.tolower.d \ + err.D_PROTO_ARG.toupper.d \ + err.D_PROTO_LEN.allocanoarg.d \ + err.D_PROTO_LEN.badbreakpoint.d \ + err.D_PROTO_LEN.chilltoofew.d \ + err.D_PROTO_LEN.chilltoomany.d \ + err.D_PROTO_LEN.copyoutstrbadarg.d \ + err.D_PROTO_LEN.copyoutstrtoofew.d \ + err.D_PROTO_LEN.copyouttoofew.d \ + err.D_PROTO_LEN.copyouttoomany.d \ + err.D_PROTO_LEN.motoofew.d \ + err.D_PROTO_LEN.motoomany.d \ + err.D_PROTO_LEN.mtabadarg.d \ + err.D_PROTO_LEN.mtatoofew.d \ + err.D_PROTO_LEN.mtatoomany.d \ + err.D_PROTO_LEN.panicbadarg.d \ + err.D_PROTO_LEN.progenyofbad2.d \ + err.D_PROTO_LEN.stopbadarg.d \ + err.D_PROTO_LEN.tolower.d \ + err.D_PROTO_LEN.tolowertoomany.d \ + err.D_PROTO_LEN.toupper.d \ + err.D_PROTO_LEN.touppertoomany.d \ + err.D_STRINGOF_TYPE.badstringof.d \ + err.D_VAR_UNDEF.badvar.d \ + err.badalloca.d \ + err.badalloca2.d \ + err.badbcopy.d \ + err.badbcopy1.d \ + err.badbcopy2.d \ + err.badbcopy3.d \ + err.badbcopy4.d \ + err.badbcopy5.d \ + err.badbcopy6.d \ + err.badchill.d \ + err.chillbadarg.ksh \ + err.copyout.d \ + err.copyoutbadaddr.ksh \ + err.copyoutstrbadaddr.ksh \ + err.inet_ntoa6badaddr.d \ + err.inet_ntoabadaddr.d \ + err.inet_ntopbadaddr.d \ + err.inet_ntopbadarg.d \ + tst.badfreopen.ksh \ + tst.basename.d \ + tst.basename.d.out \ + tst.bcopy.d \ + tst.chill.ksh \ + tst.cleanpath.d \ + tst.cleanpath.d.out \ + tst.copyin.d \ + tst.copyinto.d \ + tst.ddi_pathname.d \ + tst.default.d \ + tst.freopen.ksh \ + tst.ftruncate.ksh \ + tst.ftruncate.ksh.out \ + tst.hton.d \ + tst.index.d \ + tst.index.d.out \ + tst.inet_ntoa.d \ + tst.inet_ntoa.d.out \ + tst.inet_ntoa6.d \ + tst.inet_ntoa6.d.out \ + tst.inet_ntop.d \ + tst.inet_ntop.d.out \ + tst.lltostr.d \ + tst.lltostr.d.out \ + tst.lltostrbase.d \ + tst.lltostrbase.d.out \ + tst.mutex_owned.d \ + tst.mutex_owner.d \ + tst.mutex_type_adaptive.d \ + tst.progenyof.d \ + tst.rand.d \ + tst.strchr.d \ + tst.strchr.d.out \ + tst.strjoin.d \ + tst.strjoin.d.out \ + tst.strstr.d \ + tst.strstr.d.out \ + tst.strtok.d \ + tst.strtok.d.out \ + tst.strtok_null.d \ + tst.substr.d \ + tst.substr.d.out \ + tst.substrminate.d \ + tst.substrminate.d.out \ + tst.system.d \ + tst.system.d.out \ + tst.tolower.d \ + tst.toupper.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/grammar/Makefile b/cddl/usr.sbin/dtrace/tests/common/grammar/Makefile new file mode 100644 index 000000000000..e1854ae8021e --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/grammar/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ADDROF_LVAL.d \ + err.D_EMPTY.empty.d \ + tst.clauses.d \ + tst.stmts.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/include/Makefile b/cddl/usr.sbin/dtrace/tests/common/include/Makefile new file mode 100644 index 000000000000..b5002e9044f4 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/include/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.includefirst.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/inline/Makefile b/cddl/usr.sbin/dtrace/tests/common/inline/Makefile new file mode 100644 index 000000000000..7f848fdf619d --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/inline/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DECL_IDRED.redef1.d \ + err.D_DECL_IDRED.redef2.d \ + err.D_IDENT_UNDEF.recur.d \ + err.D_OP_INCOMPAT.baddef1.d \ + err.D_OP_INCOMPAT.baddef2.d \ + err.D_OP_INCOMPAT.badxlate.d \ + tst.InlineDataAssign.d \ + tst.InlineExpression.d \ + tst.InlineKinds.d \ + tst.InlineKinds.d.out \ + tst.InlineTypedef.d \ + tst.InlineWritableAssign.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/io/Makefile b/cddl/usr.sbin/dtrace/tests/common/io/Makefile new file mode 100644 index 000000000000..ad6235186870 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/io/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.fds.d \ + tst.fds.d.out \ + +TESTEXES= \ + + +CFILES= \ + tst.fds.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/ip/Makefile b/cddl/usr.sbin/dtrace/tests/common/ip/Makefile new file mode 100644 index 000000000000..369068a17904 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/ip/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.ipv4localicmp.ksh \ + tst.ipv4localicmp.ksh.out \ + tst.ipv4localtcp.ksh \ + tst.ipv4localtcp.ksh.out \ + tst.ipv4localudp.ksh \ + tst.ipv4localudp.ksh.out \ + tst.ipv4remoteicmp.ksh \ + tst.ipv4remoteicmp.ksh.out \ + tst.ipv4remotetcp.ksh \ + tst.ipv4remotetcp.ksh.out \ + tst.ipv4remoteudp.ksh \ + tst.ipv4remoteudp.ksh.out \ + tst.ipv6localicmp.ksh \ + tst.ipv6localicmp.ksh.out \ + tst.ipv6remoteicmp.ksh \ + tst.ipv6remoteicmp.ksh.out \ + tst.localtcpstate.ksh \ + tst.localtcpstate.ksh.out \ + tst.remotetcpstate.ksh \ + tst.remotetcpstate.ksh.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/java_api/Makefile b/cddl/usr.sbin/dtrace/tests/common/java_api/Makefile new file mode 100644 index 000000000000..4ef225a2bfda --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/java_api/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.Abort.ksh \ + tst.Abort.ksh.out \ + tst.Bean.ksh \ + tst.Bean.ksh.out \ + tst.Close.ksh \ + tst.Close.ksh.out \ + tst.Drop.ksh \ + tst.Drop.ksh.out \ + tst.Enable.ksh \ + tst.Enable.ksh.out \ + tst.FunctionLookup.ksh \ + tst.FunctionLookup.ksh.out \ + tst.GetAggregate.ksh \ + tst.MaxConsumers.ksh \ + tst.MaxConsumers.ksh.out \ + tst.MultiAggPrinta.ksh \ + tst.MultiAggPrinta.ksh.out \ + tst.ProbeData.ksh \ + tst.ProbeData.ksh.out \ + tst.ProbeDescription.ksh \ + tst.ProbeDescription.ksh.out \ + tst.StateMachine.ksh \ + tst.StateMachine.ksh.out \ + tst.StopLock.ksh \ + tst.StopLock.ksh.out \ + tst.printa.d \ + tst.printa.d.out \ + +TESTEXES= \ + + +CFILES= \ + tst.FunctionLookup.c \ + tst.ProbeData.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/json/Makefile b/cddl/usr.sbin/dtrace/tests/common/json/Makefile new file mode 100644 index 000000000000..160fcae7e5a8 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/json/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.general.d \ + tst.general.d.out \ + tst.strsize.d \ + tst.strsize.d.out \ + tst.usdt.d \ + tst.usdt.d.out \ + usdt.d \ + +TESTEXES= \ + + +CFILES= \ + tst.usdt.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/lexer/Makefile b/cddl/usr.sbin/dtrace/tests/common/lexer/Makefile new file mode 100644 index 000000000000..39063e4dd6e1 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/lexer/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_CHR_NL.char.d \ + err.D_CHR_NULL.char.d \ + err.D_INT_DIGIT.InvalidDigit.d \ + err.D_INT_OFLOW.BigInt.d \ + err.D_STR_NL.string.d \ + err.D_SYNTAX.brace1.d \ + err.D_SYNTAX.brace2.d \ + err.D_SYNTAX.brack1.d \ + err.D_SYNTAX.brack2.d \ + err.D_SYNTAX.brack3.d \ + err.D_SYNTAX.paren1.d \ + err.D_SYNTAX.paren2.d \ + err.D_SYNTAX.paren3.d \ + tst.D_MACRO_OFLOW.ParIntOvflow.d.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile b/cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile new file mode 100644 index 000000000000..1f33e8ad408f --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/llquantize/Makefile @@ -0,0 +1,50 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_LLQUANT_FACTOREVEN.nodivide.d \ + err.D_LLQUANT_FACTOREVEN.notfactor.d \ + err.D_LLQUANT_FACTORMATCH.d \ + err.D_LLQUANT_FACTORNSTEPS.d \ + err.D_LLQUANT_FACTORSMALL.d \ + err.D_LLQUANT_FACTORTYPE.d \ + err.D_LLQUANT_FACTORVAL.d \ + err.D_LLQUANT_HIGHMATCH.d \ + err.D_LLQUANT_HIGHTYPE.d \ + err.D_LLQUANT_HIGHVAL.d \ + err.D_LLQUANT_LOWMATCH.d \ + err.D_LLQUANT_LOWTYPE.d \ + err.D_LLQUANT_LOWVAL.d \ + err.D_LLQUANT_MAGRANGE.d \ + err.D_LLQUANT_MAGTOOBIG.d \ + err.D_LLQUANT_NSTEPMATCH.d \ + err.D_LLQUANT_NSTEPTYPE.d \ + err.D_LLQUANT_NSTEPVAL.d \ + tst.bases.d \ + tst.bases.d.out \ + tst.basic.d \ + tst.basic.d.out \ + tst.negorder.d \ + tst.negorder.d.out \ + tst.negvalue.d \ + tst.negvalue.d.out \ + tst.normal.d \ + tst.normal.d.out \ + tst.range.d \ + tst.range.d.out \ + tst.steps.d \ + tst.steps.d.out \ + tst.trunc.d \ + tst.trunc.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/mdb/Makefile b/cddl/usr.sbin/dtrace/tests/common/mdb/Makefile new file mode 100644 index 000000000000..24a3f885389f --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/mdb/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.dtracedcmd.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/mib/Makefile b/cddl/usr.sbin/dtrace/tests/common/mib/Makefile new file mode 100644 index 000000000000..ef3a05dc68d4 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/mib/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.icmp.ksh \ + tst.tcp.ksh \ + tst.udp.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/misc/Makefile b/cddl/usr.sbin/dtrace/tests/common/misc/Makefile new file mode 100644 index 000000000000..31de20b450c2 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/misc/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRAGMA_OPTSET.d \ + tst.badopt.d \ + tst.boolopt.d \ + tst.boolopt.d.out \ + tst.dofmax.ksh \ + tst.dynopt.d \ + tst.dynopt.d.out \ + tst.enablerace.ksh \ + tst.haslam.d \ + tst.include.ksh \ + tst.macroglob.ksh \ + tst.macroglob.ksh.out \ + tst.roch.d \ + tst.schrock.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile b/cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile new file mode 100644 index 000000000000..e21c90ae20fc --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/multiaggs/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRINTA_AGGKEY.d \ + err.D_PRINTA_AGGPROTO.d \ + tst.many.d \ + tst.many.d.out \ + tst.same.d \ + tst.same.d.out \ + tst.sort.d \ + tst.sort.d.out \ + tst.sortpos.d \ + tst.sortpos.d.out \ + tst.tuplecompat.d \ + tst.tuplecompat.d.out \ + tst.zero.d \ + tst.zero.d.out \ + tst.zero2.d \ + tst.zero2.d.out \ + tst.zero3.d \ + tst.zero3.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/nfs/Makefile b/cddl/usr.sbin/dtrace/tests/common/nfs/Makefile new file mode 100644 index 000000000000..446c35eea790 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/nfs/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.call.d \ + tst.call3.d \ + +TESTEXES= \ + + +CFILES= \ + tst.call.c \ + tst.call3.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile b/cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile new file mode 100644 index 000000000000..375aecb2045e --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/offsetof/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_OFFSETOF_BITFIELD.bitfield.d \ + err.D_OFFSETOF_TYPE.badtype.d \ + err.D_OFFSETOF_TYPE.notsou.d \ + err.D_UNKNOWN.OffsetofNULL.d \ + err.D_UNKNOWN.badmemb.d \ + tst.OffsetofAlias.d \ + tst.OffsetofArith.d \ + tst.OffsetofUnion.d \ + tst.struct.d \ + tst.struct.d.out \ + tst.union.d \ + tst.union.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/operators/Makefile b/cddl/usr.sbin/dtrace/tests/common/operators/Makefile new file mode 100644 index 000000000000..08bbfe6abee8 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/operators/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.ternary.d \ + tst.ternary.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/pid/Makefile b/cddl/usr.sbin/dtrace/tests/common/pid/Makefile new file mode 100644 index 000000000000..faa5ac8545e1 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/pid/Makefile @@ -0,0 +1,69 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.badlib.d \ + err.D_PDESC_ZERO.badproc1.d \ + err.D_PROC_BADPID.badproc2.d \ + err.D_PROC_CREATEFAIL.many.d \ + err.D_PROC_FUNC.badfunc.d \ + err.D_PROC_LIB.libdash.d \ + err.D_PROC_NAME.alldash.d \ + err.D_PROC_NAME.badname.d \ + err.D_PROC_NAME.globdash.d \ + err.D_PROC_OFF.toobig.d \ + tst.addprobes.ksh \ + tst.args1.d \ + tst.coverage.d \ + tst.emptystack.d \ + tst.emptystack.d.out \ + tst.float.d \ + tst.fork.d \ + tst.gcc.d \ + tst.killonerror.ksh \ + tst.main.ksh \ + tst.manypids.ksh \ + tst.newprobes.ksh \ + tst.newprobes.ksh.out \ + tst.probemod.ksh \ + tst.provregex1.ksh \ + tst.provregex2.ksh \ + tst.provregex2.ksh.out \ + tst.provregex3.ksh \ + tst.provregex3.ksh.out \ + tst.provregex4.ksh \ + tst.provregex4.ksh.out \ + tst.ret1.d \ + tst.ret2.d \ + tst.vfork.d \ + tst.weak1.d \ + tst.weak2.d \ + +TESTEXES= \ + err.D_PDESC_ZERO.badlib.exe \ + err.D_PROC_CREATEFAIL.many.exe \ + err.D_PROC_FUNC.badfunc.exe \ + err.D_PROC_LIB.libdash.exe \ + err.D_PROC_NAME.alldash.exe \ + err.D_PROC_NAME.badname.exe \ + err.D_PROC_NAME.globdash.exe \ + err.D_PROC_OFF.toobig.exe \ + tst.coverage.exe \ + tst.emptystack.exe \ + +CFILES= \ + tst.args1.c \ + tst.float.c \ + tst.fork.c \ + tst.gcc.c \ + tst.ret1.c \ + tst.ret2.c \ + tst.vfork.c \ + tst.weak1.c \ + tst.weak2.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile b/cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile new file mode 100644 index 000000000000..0f36f344a0dc --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/plockstat/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.available.d \ + tst.libmap.d \ + +TESTEXES= \ + tst.available.exe \ + tst.libmap.exe \ + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/pointers/Makefile b/cddl/usr.sbin/dtrace/tests/common/pointers/Makefile new file mode 100644 index 000000000000..2953c5473a1c --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/pointers/Makefile @@ -0,0 +1,48 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.BadAlign.d \ + err.D_ADDROF_VAR.ArrayVar.d \ + err.D_ADDROF_VAR.DynamicVar.d \ + err.D_ADDROF_VAR.agg.d \ + err.D_DEREF_NONPTR.noptr.d \ + err.D_DEREF_VOID.VoidPointerDeref.d \ + err.D_OP_ARRFUN.ArrayAssignment.d \ + err.D_OP_INCOMPAT.VoidPointerArith.d \ + err.D_OP_LVAL.AddressChange.d \ + err.D_OP_PTR.NonPointerAccess.d \ + err.D_OP_PTR.badpointer.d \ + err.D_OP_SOU.BadPointerAccess.d \ + err.D_OP_SOU.badpointer.d \ + err.InvalidAddress1.d \ + err.InvalidAddress2.d \ + err.InvalidAddress3.d \ + err.InvalidAddress4.d \ + err.InvalidAddress5.d \ + tst.ArrayPointer1.d \ + tst.ArrayPointer2.d \ + tst.ArrayPointer3.d \ + tst.GlobalVar.d \ + tst.IntegerArithmetic1.d \ + tst.PointerArithmetic1.d \ + tst.PointerArithmetic2.d \ + tst.PointerArithmetic3.d \ + tst.PointerAssignment.d \ + tst.ValidPointer1.d \ + tst.ValidPointer2.d \ + tst.VoidCast.d \ + tst.basic1.d \ + tst.basic2.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/pragma/Makefile b/cddl/usr.sbin/dtrace/tests/common/pragma/Makefile new file mode 100644 index 000000000000..86010ac306aa --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/pragma/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRAGERR.d \ + err.D_PRAGMA_DEPEND.main.d \ + err.D_PRAGMA_INVAL.d \ + err.D_PRAGMA_MALFORM.d \ + err.D_PRAGMA_UNUSED.UnusedPragma.d \ + err.circlibdep.ksh \ + err.invalidlibdep.ksh \ + tst.libchain.ksh \ + tst.libdep.ksh \ + tst.libdepfullyconnected.ksh \ + tst.libdepsepdir.ksh \ + tst.temporal.ksh \ + tst.temporal2.ksh \ + tst.temporal3.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/predicates/Makefile b/cddl/usr.sbin/dtrace/tests/common/predicates/Makefile new file mode 100644 index 000000000000..67cfabe09dc8 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/predicates/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRED_SCALAR.NonScalarPred.d \ + err.D_SYNTAX.invalid.d \ + err.D_SYNTAX.operr.d \ + tst.argsnotcached.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.complex.d \ + tst.complex.d.out \ + tst.predcache.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile b/cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile new file mode 100644 index 000000000000..8108375ecd25 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/preprocessor/Makefile @@ -0,0 +1,53 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_IDENT_UNDEF.afterprobe.d \ + err.D_PRAGCTL_INVAL.tabdefine.d \ + err.D_SYNTAX.withoutpound.d \ + err.defincomp.d \ + err.ifdefelsenotendif.d \ + err.ifdefincomp.d \ + err.ifdefnotendif.d \ + err.incompelse.d \ + err.mulelse.d \ + tst.ifdef.d \ + tst.ifdef.d.out \ + tst.ifndef.d \ + tst.ifndef.d.out \ + tst.ifnotdef.d \ + tst.ifnotdef.d.out \ + tst.logicaland.d \ + tst.logicaland.d.out \ + tst.logicalandor.d \ + tst.logicalandor.d.out \ + tst.logicalor.d \ + tst.logicalor.d.out \ + tst.muland.d \ + tst.muland.d.out \ + tst.mulor.d \ + tst.mulor.d.out \ + tst.precondi.d \ + tst.precondi.d.out \ + tst.predicatedeclare.d \ + tst.preexp.d \ + tst.preexp.d.out \ + tst.preexpelse.d \ + tst.preexpelse.d.out \ + tst.preexpif.d \ + tst.preexpif.d.out \ + tst.preexpifelse.d \ + tst.preexpifelse.d.out \ + tst.withinprobe.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/print/Makefile b/cddl/usr.sbin/dtrace/tests/common/print/Makefile new file mode 100644 index 000000000000..4360794187c2 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/print/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRINT_AGG.bad.d \ + err.D_PRINT_VOID.bad.d \ + err.D_PROTO_LEN.bad.d \ + tst.array.d \ + tst.array.d.out \ + tst.bitfield.d \ + tst.bitfield.d.out \ + tst.dyn.d \ + tst.enum.d \ + tst.enum.d.out \ + tst.primitive.d \ + tst.primitive.d.out \ + tst.struct.d \ + tst.struct.d.out \ + tst.xlate.d \ + tst.xlate.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/printa/Makefile b/cddl/usr.sbin/dtrace/tests/common/printa/Makefile new file mode 100644 index 000000000000..c972db376db4 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/printa/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRINTA_AGGARG.badagg.d \ + err.D_PRINTA_AGGARG.badfmt.d \ + err.D_PRINTA_AGGARG.badval.d \ + err.D_PRINTA_PROTO.bad.d \ + err.D_PRINTF_ARG_TYPE.jstack.d \ + err.D_PRINTF_ARG_TYPE.stack.d \ + err.D_PRINTF_ARG_TYPE.ustack.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.def.d \ + tst.def.d.out \ + tst.dynwidth.d \ + tst.dynwidth.d.out \ + tst.fmt.d \ + tst.fmt.d.out \ + tst.largeusersym.ksh \ + tst.many.d \ + tst.manyval.d \ + tst.manyval.d.out \ + tst.stack.d \ + tst.tuple.d \ + tst.tuple.d.out \ + tst.walltimestamp.ksh \ + tst.walltimestamp.ksh.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/printf/Makefile b/cddl/usr.sbin/dtrace/tests/common/printf/Makefile new file mode 100644 index 000000000000..d4658b1610d7 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/printf/Makefile @@ -0,0 +1,68 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PRINTF_AGG_CONV.aggfmt.d \ + err.D_PRINTF_ARG_EXTRA.toomany.d \ + err.D_PRINTF_ARG_EXTRA.widths.d \ + err.D_PRINTF_ARG_FMT.badfmt.d \ + err.D_PRINTF_ARG_PROTO.novalue.d \ + err.D_PRINTF_ARG_TYPE.aggarg.d \ + err.D_PRINTF_ARG_TYPE.recursive.d \ + err.D_PRINTF_DYN_PROTO.noprec.d \ + err.D_PRINTF_DYN_PROTO.nowidth.d \ + err.D_PRINTF_DYN_TYPE.badprec.d \ + err.D_PRINTF_DYN_TYPE.badwidth.d \ + err.D_PROTO_LEN.toofew.d \ + err.D_SYNTAX.badconv1.d \ + err.D_SYNTAX.badconv2.d \ + err.D_SYNTAX.badconv3.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.flags.d \ + tst.flags.d.out \ + tst.hello.d \ + tst.hello.d.out \ + tst.ints.d \ + tst.ints.d.out \ + tst.precs.d \ + tst.precs.d.out \ + tst.print-f.d \ + tst.print-f.d.out \ + tst.printT.ksh \ + tst.printT.ksh.out \ + tst.printY.ksh \ + tst.printY.ksh.out \ + tst.printcont.d \ + tst.printcont.d.out \ + tst.printeE.d \ + tst.printeE.d.out \ + tst.printgG.d \ + tst.printgG.d.out \ + tst.rawfmt.d \ + tst.rawfmt.d.out \ + tst.signs.d \ + tst.signs.d.out \ + tst.str.d \ + tst.str.d.out \ + tst.sym.d \ + tst.sym.d.out \ + tst.uints.d \ + tst.uints.d.out \ + tst.widths.d \ + tst.widths.d.out \ + tst.widths1.d \ + tst.wp.d \ + tst.wp.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/privs/Makefile b/cddl/usr.sbin/dtrace/tests/common/privs/Makefile new file mode 100644 index 000000000000..119ebe5538de --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/privs/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.fds.ksh \ + tst.func_access.ksh \ + tst.getf.ksh \ + tst.op_access.ksh \ + tst.procpriv.ksh \ + tst.providers.ksh \ + tst.unpriv_funcs.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/probes/Makefile b/cddl/usr.sbin/dtrace/tests/common/probes/Makefile new file mode 100644 index 000000000000..463290b944ea --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/probes/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.probeqtn.d \ + err.D_PDESC_ZERO.probestar.d \ + err.D_PDESC_ZERO.tickstar.d \ + err.D_SYNTAX.assign.d \ + err.D_SYNTAX.declare.d \ + err.D_SYNTAX.declarein.d \ + err.D_SYNTAX.lbraces.d \ + err.D_SYNTAX.probespec.d \ + err.D_SYNTAX.rbraces.d \ + err.D_SYNTAX.recdec.d \ + tst.basic1.d \ + tst.check.d \ + tst.declare.d \ + tst.declareafter.d \ + tst.emptyprobe.d \ + tst.pragma.d \ + tst.pragmaaftertab.d \ + tst.pragmainside.d \ + tst.pragmaoutside.d \ + tst.probestar.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/proc/Makefile b/cddl/usr.sbin/dtrace/tests/common/proc/Makefile new file mode 100644 index 000000000000..5ab672b6d985 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/proc/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.create.ksh \ + tst.discard.ksh \ + tst.exec.ksh \ + tst.execfail.ENOENT.ksh \ + tst.execfail.ksh \ + tst.exitcore.ksh \ + tst.exitexit.ksh \ + tst.exitkilled.ksh \ + tst.signal.ksh \ + tst.sigwait.d \ + tst.startexit.ksh \ + +TESTEXES= \ + + +CFILES= \ + tst.sigwait.c \ + + +LDADD.tst.sigwait.exe+= -lrt +DPADD.tst.sigwait.exe+= ${LIBRT} + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile b/cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile new file mode 100644 index 000000000000..cb6ad9f9e66b --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/profile-n/Makefile @@ -0,0 +1,53 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.profile.d \ + err.D_PDESC_ZEROonens.d \ + err.D_PDESC_ZEROonensec.d \ + err.D_PDESC_ZEROoneus.d \ + err.D_PDESC_ZEROoneusec.d \ + tst.argtest.d \ + tst.argtest.d.out \ + tst.basic.d \ + tst.basic.d.out \ + tst.func.ksh \ + tst.mod.ksh \ + tst.profilehz.d \ + tst.profilehz.d.out \ + tst.profilems.d \ + tst.profilems.d.out \ + tst.profilemsec.d \ + tst.profilemsec.d.out \ + tst.profilenhz.d \ + tst.profilenhz.d.out \ + tst.profilens.d \ + tst.profilens.d.out \ + tst.profilensec.d \ + tst.profilensec.d.out \ + tst.profiles.d \ + tst.profiles.d.out \ + tst.profilesec.d \ + tst.profilesec.d.out \ + tst.profileus.d \ + tst.profileus.d.out \ + tst.profileusec.d \ + tst.profileusec.d.out \ + tst.sym.ksh \ + tst.ufunc.ksh \ + tst.ufuncsort.ksh \ + tst.ufuncsort.ksh.out \ + tst.umod.ksh \ + tst.usym.ksh \ + +TESTEXES= \ + + +CFILES= \ + tst.ufuncsort.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/providers/Makefile b/cddl/usr.sbin/dtrace/tests/common/providers/Makefile new file mode 100644 index 000000000000..763d60bfa7de --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/providers/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_INVAL.wrongdec4.d \ + err.D_PDESC_ZERO.nonprofile.d \ + err.D_PDESC_ZERO.wrongdec1.d \ + err.D_PDESC_ZERO.wrongdec2.d \ + err.D_PDESC_ZERO.wrongdec3.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.beginexit.d \ + tst.beginprof.d \ + tst.beginprof.d.out \ + tst.probattrs.d \ + tst.probattrs.d.out \ + tst.probefunc.d \ + tst.probefunc.d.out \ + tst.probemod.d \ + tst.probemod.d.out \ + tst.probename.d \ + tst.probename.d.out \ + tst.probprov.d \ + tst.probprov.d.out \ + tst.profend.d \ + tst.profend.d.out \ + tst.profexit.d \ + tst.profexit.d.out \ + tst.trace.d \ + tst.trace.d.out \ + tst.twoprof.d \ + tst.twoprof.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/raise/Makefile b/cddl/usr.sbin/dtrace/tests/common/raise/Makefile new file mode 100644 index 000000000000..f84ac52392ea --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/raise/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.raise1.d \ + tst.raise2.d \ + tst.raise3.d \ + +TESTEXES= \ + + +CFILES= \ + tst.raise1.c \ + tst.raise2.c \ + tst.raise3.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/rates/Makefile b/cddl/usr.sbin/dtrace/tests/common/rates/Makefile new file mode 100644 index 000000000000..a3f54f550484 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/rates/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.aggrate.d \ + tst.aggrate.d.out \ + tst.statusrate.d \ + tst.switchrate.d \ + tst.switchrate.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/safety/Makefile b/cddl/usr.sbin/dtrace/tests/common/safety/Makefile new file mode 100644 index 000000000000..0e88ea3c28f7 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/safety/Makefile @@ -0,0 +1,54 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.basename.d \ + tst.caller.d \ + tst.cleanpath.d \ + tst.copyin.d \ + tst.copyin2.d \ + tst.ddi_pathname.d \ + tst.dirname.d \ + tst.errno.d \ + tst.execname.d \ + tst.gid.d \ + tst.hton.d \ + tst.index.d \ + tst.msgdsize.d \ + tst.msgsize.d \ + tst.null.d \ + tst.pid.d \ + tst.ppid.d \ + tst.progenyof.d \ + tst.random.d \ + tst.rw.d \ + tst.shortstr.d \ + tst.stack.d \ + tst.stackdepth.d \ + tst.stddev.d \ + tst.strchr.d \ + tst.strjoin.d \ + tst.strstr.d \ + tst.strtok.d \ + tst.substr.d \ + tst.ucaller.d \ + tst.uid.d \ + tst.unalign.d \ + tst.uregs.d \ + tst.ustack.d \ + tst.ustackdepth.d \ + tst.vahole.d \ + tst.violentdeath.ksh \ + tst.zonename.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/scalars/Makefile b/cddl/usr.sbin/dtrace/tests/common/scalars/Makefile new file mode 100644 index 000000000000..8377f6b967fa --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/scalars/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ARR_LOCAL.thisarray.d \ + err.D_DECL_CLASS.selfthis.d \ + err.D_DECL_CLASS.thisself.d \ + err.D_DECL_IDRED.errval.d \ + err.D_OP_INCOMPAT.dec.err.d \ + err.D_OP_INCOMPAT.dupgtype.d \ + err.D_OP_INCOMPAT.dupltype.d \ + err.D_OP_INCOMPAT.dupttype.d \ + err.D_SYNTAX.declare.d \ + tst.basicvar.d \ + tst.basicvar.d.out \ + tst.localvar.d \ + tst.misc.d \ + tst.self.d \ + tst.selfarray.d \ + tst.selfarray2.d \ + tst.selfthis.d \ + tst.this.d \ + tst.thisself.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/sched/Makefile b/cddl/usr.sbin/dtrace/tests/common/sched/Makefile new file mode 100644 index 000000000000..adf8c984be0a --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/sched/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.enqueue.d \ + tst.oncpu.d \ + tst.stackdepth.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/scripting/Makefile b/cddl/usr.sbin/dtrace/tests/common/scripting/Makefile new file mode 100644 index 000000000000..0bb10cf3f3b1 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/scripting/Makefile @@ -0,0 +1,49 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_MACRO_UNDEF.invalidargs.d \ + err.D_OP_LVAL.rdonly.d \ + err.D_OP_WRITE.usepidmacro.d \ + err.D_SYNTAX.concat.d \ + err.D_SYNTAX.desc.d \ + err.D_SYNTAX.inval.d \ + err.D_SYNTAX.pid.d \ + tst.D_MACRO_UNUSED.overflow.ksh \ + tst.arg0.d \ + tst.arguments.ksh \ + tst.assign.d \ + tst.basic.d \ + tst.egid.d \ + tst.egid.ksh \ + tst.euid.d \ + tst.euid.ksh \ + tst.gid.d \ + tst.gid.ksh \ + tst.pgid.d \ + tst.pid.d \ + tst.ppid.d \ + tst.ppid.ksh \ + tst.projid.d \ + tst.projid.ksh \ + tst.quite.d \ + tst.sid.d \ + tst.sid.ksh \ + tst.stringmacro.ksh \ + tst.taskid.d \ + tst.taskid.ksh \ + tst.trace.d \ + tst.uid.d \ + tst.uid.ksh \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/sdt/Makefile b/cddl/usr.sbin/dtrace/tests/common/sdt/Makefile new file mode 100644 index 000000000000..598cc69c0fe7 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/sdt/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.sdtargs.d \ + +TESTEXES= \ + + +CFILES= \ + tst.sdtargs.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/sizeof/Makefile b/cddl/usr.sbin/dtrace/tests/common/sizeof/Makefile new file mode 100644 index 000000000000..6b146b066713 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/sizeof/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_IDENT_BADREF.SizeofAssoc.d \ + err.D_IDENT_UNDEF.UnknownSymbol.d \ + err.D_SIZEOF_TYPE.badstruct.d \ + err.D_SIZEOF_TYPE.d \ + err.D_SYNTAX.SizeofBadType.d \ + tst.SizeofArray.d \ + tst.SizeofDataTypes.d \ + tst.SizeofExpression.d \ + tst.SizeofNULL.d \ + tst.SizeofStrConst.d \ + tst.SizeofStrConst.d.out \ + tst.SizeofString1.d \ + tst.SizeofString1.d.out \ + tst.SizeofString2.d \ + tst.SizeofString2.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile b/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile new file mode 100644 index 000000000000..f17ded9fe9a5 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile @@ -0,0 +1,75 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + bug.1001148.SpecSizeVariations.d \ + err.BufSizeVariations1.d \ + err.BufSizeVariations2.d \ + err.D_ACT_SPEC.SpeculateWithBreakPoint.d \ + err.D_ACT_SPEC.SpeculateWithChill.d \ + err.D_ACT_SPEC.SpeculateWithCopyOut.d \ + err.D_ACT_SPEC.SpeculateWithCopyOutStr.d \ + err.D_ACT_SPEC.SpeculateWithPanic.d \ + err.D_ACT_SPEC.SpeculateWithRaise.d \ + err.D_ACT_SPEC.SpeculateWithStop.d \ + err.D_AGG_COMM.AggAftCommit.d \ + err.D_AGG_SPEC.SpeculateWithAvg.d \ + err.D_AGG_SPEC.SpeculateWithCount.d \ + err.D_AGG_SPEC.SpeculateWithLquant.d \ + err.D_AGG_SPEC.SpeculateWithMax.d \ + err.D_AGG_SPEC.SpeculateWithMin.d \ + err.D_AGG_SPEC.SpeculateWithQuant.d \ + err.D_AGG_SPEC.SpeculateWithStddev.d \ + err.D_AGG_SPEC.SpeculateWithSum.d \ + err.D_COMM_COMM.CommitAftCommit.d \ + err.D_COMM_COMM.DisjointCommit.d \ + err.D_COMM_DREC.CommitAftDataRec.d \ + err.D_DREC_COMM.DataRecAftCommit.d \ + err.D_DREC_COMM.ExitAfterCommit.d \ + err.D_EXIT_SPEC.ExitAftSpec.d \ + err.D_PRAGMA_MALFORM.NspecExpr.d \ + err.D_PRAGMA_OPTSET.HugeNspecValue.d \ + err.D_PRAGMA_OPTSET.InvalidSpecSize.d \ + err.D_PRAGMA_OPTSET.NegSpecSize.d \ + err.D_PROTO_LEN.SpecNoId.d \ + err.D_SPEC_COMM.SpecAftCommit.d \ + err.D_SPEC_DREC.SpecAftDataRec.d \ + err.D_SPEC_SPEC.SpecAftSpec.d \ + err.NegativeBufSize.d \ + err.NegativeNspec.d \ + err.NegativeSpecSize.d \ + err.SpecSizeVariations1.d \ + err.SpecSizeVariations2.d \ + tst.CommitAfterDiscard.d \ + tst.CommitWithZero.d \ + tst.DataRecAftDiscard.d \ + tst.DiscardAftCommit.d \ + tst.DiscardAftDataRec.d \ + tst.DiscardAftDiscard.d \ + tst.DiscardWithZero.d \ + tst.ExitAftDiscard.d \ + tst.NoSpecBuffer.d \ + tst.SpecSizeVariations1.d \ + tst.SpecSizeVariations2.d \ + tst.SpecSizeVariations3.d \ + tst.SpeculateWithRandom.d \ + tst.SpeculationCommit.d \ + tst.SpeculationDiscard.d \ + tst.SpeculationID.d \ + tst.SpeculationWithZero.d \ + tst.TwoSpecBuffers.d \ + tst.negcommit.d \ + tst.negspec.d \ + tst.zerosize.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/stability/Makefile b/cddl/usr.sbin/dtrace/tests/common/stability/Makefile new file mode 100644 index 000000000000..8fb9afa610ff --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/stability/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ATTR_MIN.MinAttributes.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/stack/Makefile b/cddl/usr.sbin/dtrace/tests/common/stack/Makefile new file mode 100644 index 000000000000..ca01f42298ce --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/stack/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_STACK_PROTO.bad.d \ + err.D_STACK_SIZE.d \ + err.D_USTACK_FRAMES.bad.d \ + err.D_USTACK_PROTO.bad.d \ + err.D_USTACK_STRSIZE.bad.d \ + tst.default.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/stackdepth/Makefile b/cddl/usr.sbin/dtrace/tests/common/stackdepth/Makefile new file mode 100644 index 000000000000..8e9496320b15 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/stackdepth/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.default.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/stop/Makefile b/cddl/usr.sbin/dtrace/tests/common/stop/Makefile new file mode 100644 index 000000000000..a03d9aa1603d --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/stop/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.stop1.d \ + tst.stop2.d \ + +TESTEXES= \ + + +CFILES= \ + tst.stop1.c \ + tst.stop2.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/strlen/Makefile b/cddl/usr.sbin/dtrace/tests/common/strlen/Makefile new file mode 100644 index 000000000000..0fec5412a34b --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/strlen/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.strlen1.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/strtoll/Makefile b/cddl/usr.sbin/dtrace/tests/common/strtoll/Makefile new file mode 100644 index 000000000000..8af2d410b238 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/strtoll/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.BaseTooLarge.d \ + err.BaseTooSmall.d \ + tst.strtoll.d \ + tst.strtoll.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/struct/Makefile b/cddl/usr.sbin/dtrace/tests/common/struct/Makefile new file mode 100644 index 000000000000..fb039f2f1de2 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/struct/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ADDROF_VAR.StructPointer.d \ + err.D_DECL_COMBO.StructWithoutColon.d \ + err.D_DECL_COMBO.StructWithoutColon1.d \ + err.D_DECL_INCOMPLETE.circular.d \ + err.D_DECL_INCOMPLETE.order.d \ + err.D_DECL_INCOMPLETE.order2.d \ + err.D_DECL_INCOMPLETE.recursive.d \ + err.D_DECL_INCOMPLETE.simple.d \ + err.D_DECL_VOIDOBJ.baddec.d \ + err.D_PROTO_ARG.DupStructAssoc.d \ + tst.StructAssoc.d \ + tst.StructDataTypes.d \ + tst.StructInside.d \ + tst.clauselocal.d \ + tst.clauselocal.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/syscall/Makefile b/cddl/usr.sbin/dtrace/tests/common/syscall/Makefile new file mode 100644 index 000000000000..035fdf028284 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/syscall/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.args.d \ + tst.openret.ksh \ + +TESTEXES= \ + + +CFILES= \ + tst.args.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/sysevent/Makefile b/cddl/usr.sbin/dtrace/tests/common/sysevent/Makefile new file mode 100644 index 000000000000..496360e5c020 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/sysevent/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.post.d \ + tst.post_chan.d \ + +TESTEXES= \ + + +CFILES= \ + tst.post.c \ + tst.post_chan.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/tick-n/Makefile b/cddl/usr.sbin/dtrace/tests/common/tick-n/Makefile new file mode 100644 index 000000000000..d843b9a6aa44 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/tick-n/Makefile @@ -0,0 +1,38 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PDESC_ZERO.tick.d \ + err.D_PDESC_ZEROonens.d \ + err.D_PDESC_ZEROonensec.d \ + err.D_PDESC_ZEROoneus.d \ + err.D_PDESC_ZEROoneusec.d \ + tst.tickarg0.d \ + tst.tickms.d \ + tst.tickms.d.out \ + tst.tickmsec.d \ + tst.tickmsec.d.out \ + tst.tickns.d \ + tst.tickns.d.out \ + tst.ticknsec.d \ + tst.ticknsec.d.out \ + tst.ticks.d \ + tst.ticks.d.out \ + tst.ticksec.d \ + tst.ticksec.d.out \ + tst.tickus.d \ + tst.tickus.d.out \ + tst.tickusec.d \ + tst.tickusec.d.out \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/trace/Makefile b/cddl/usr.sbin/dtrace/tests/common/trace/Makefile new file mode 100644 index 000000000000..e1500f2a350f --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/trace/Makefile @@ -0,0 +1,24 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PROTO_LEN.bad.d \ + err.D_TRACE_AGG.bad.d \ + err.D_TRACE_VOID.bad.d \ + tst.dyn.d \ + tst.misc.d \ + tst.qstring.d \ + tst.qstring.d.out \ + tst.string.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/tracemem/Makefile b/cddl/usr.sbin/dtrace/tests/common/tracemem/Makefile new file mode 100644 index 000000000000..5ba7b6f6f8e5 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/tracemem/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_PROTO_ARG.badsize.d \ + err.D_PROTO_LEN.toofew.d \ + err.D_TRACEMEM_ADDR.badaddr.d \ + err.D_TRACEMEM_ARGS.d \ + err.D_TRACEMEM_DYNSIZE.d \ + err.D_TRACEMEM_SIZE.negsize.d \ + err.D_TRACEMEM_SIZE.zerosize.d \ + tst.dynsize.d \ + tst.dynsize.d.out \ + tst.rootvp.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/translators/Makefile b/cddl/usr.sbin/dtrace/tests/common/translators/Makefile new file mode 100644 index 000000000000..4d57edfc8f92 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/translators/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DECL_TYPERED.BadTransDecl.d \ + err.D_OP_INCOMPLETE.NonExistentInput1.d \ + err.D_SYNTAX.BadTransDecl1.d \ + err.D_SYNTAX.BadTransDecl3.d \ + err.D_SYNTAX.BadTransDecl4.d \ + err.D_TYPE_MEMBER.NonExistentInput2.d \ + err.D_XLATE_INCOMPAT.BadInputType1.d \ + err.D_XLATE_MEMB.NonExistentOutput2.d \ + err.D_XLATE_NONE.BadTransDecl6.d \ + err.D_XLATE_REDECL.RepeatTransDecl.d \ + err.D_XLATE_SOU.BadTransDecl8.d \ + err.D_XLATE_SOU.BadTransInt.d \ + err.D_XLATE_SOU.NonExistentOutput1.d \ + tst.CircularTransDecl.d \ + tst.EmptyTransDecl.d \ + tst.ForwardTag.d \ + tst.InputAliasTrans.d \ + tst.InputIntTrans.d \ + tst.OutputAliasTrans.d \ + tst.PartialDereferencing.d \ + tst.PartialOutputTransDefn.d \ + tst.ProcModelTrans.d \ + tst.RepeatDeclaration.d \ + tst.SimultaneousTranslators.d \ + tst.StructureAssignment.d \ + tst.TestTransStability1.ksh \ + tst.TestTransStability1.ksh.out \ + tst.TestTransStability2.ksh \ + tst.TestTransStability2.ksh.out \ + tst.TransNonPointer.d \ + tst.TransOutputPointer.d \ + tst.TransPointer.d \ + tst.TranslateSelf.d \ + tst.UnionInputTrans.d \ + tst.UnionOutputTrans.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/typedef/Makefile b/cddl/usr.sbin/dtrace/tests/common/typedef/Makefile new file mode 100644 index 000000000000..477fd74e5d8d --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/typedef/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_DECL_IDRED.DupTypeDef.d \ + err.D_SYNTAX.BadExistingTypedef.d \ + err.D_SYNTAX.TypedefInClause.d \ + tst.ChainTypedef.d \ + tst.TypedefDataAssign.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/types/Makefile b/cddl/usr.sbin/dtrace/tests/common/types/Makefile new file mode 100644 index 000000000000..1a3d3265ff94 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/types/Makefile @@ -0,0 +1,69 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_CAST_INVAL.badcast.d \ + err.D_CG_DYN.ResultDynType.d \ + err.D_CHR_OFLOW.charconst.d \ + err.D_DECL_BADCLASS.bad.d \ + err.D_DECL_CHARATTR.badtype3.d \ + err.D_DECL_COMBO.badtype4.d \ + err.D_DECL_COMBO.badtype5.d \ + err.D_DECL_ENCONST.badeval.d \ + err.D_DECL_ENOFLOW.enoflow.d \ + err.D_DECL_ENOFLOW.enuflow.d \ + err.D_DECL_SCOPE.scopeop.d \ + err.D_DECL_USELESS.baddec.d \ + err.D_OP_ACT.badcond.d \ + err.D_OP_ARITH.badoperand.d \ + err.D_OP_INCOMPAT.badassign.d \ + err.D_OP_INT.badbitop.d \ + err.D_OP_INT.badshift.d \ + err.D_OP_SCALAR.badcond.d \ + err.D_OP_SCALAR.badincop.d \ + err.D_OP_SCALAR.badlogop.d \ + err.D_PROTO_LEN.badcond1.d \ + err.D_SYNTAX.badenum.d \ + err.D_SYNTAX.badid.d \ + err.D_SYNTAX.badstruct.d \ + err.D_UNKNOWN.badtype1.d \ + err.D_UNKNOWN.badtype2.d \ + err.D_UNKNOWN.dupenum.d \ + err.D_UNKNOWN.dupstruct.d \ + err.D_XLATE_REDECL.ResultDynType.d \ + tst.assignops.d \ + tst.badshiftops.d \ + tst.basics.d \ + tst.basics.d.out \ + tst.bitops.d \ + tst.charconstants.d \ + tst.complex.d \ + tst.condexpr.d \ + tst.const.d \ + tst.constants.d \ + tst.conv.d \ + tst.enum.d \ + tst.intincop.d \ + tst.intops.d \ + tst.inttypes.d \ + tst.ptrincop.d \ + tst.ptrops.d \ + tst.relenum.d \ + tst.relstring.d \ + tst.shiftops.d \ + tst.stringconstants.d \ + tst.struct.d \ + tst.typedef.d \ + tst.unaryop.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/uctf/Makefile b/cddl/usr.sbin/dtrace/tests/common/uctf/Makefile new file mode 100644 index 000000000000..493d55048173 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/uctf/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.invalidpid.d \ + err.invalidpid2.d \ + err.invalidpid3.d \ + err.invalidtype.ksh \ + err.invalidtype2.ksh \ + err.user64mode.ksh \ + tst.aouttype.ksh \ + tst.chasestrings.ksh \ + tst.chasestrings.ksh.out \ + tst.libtype.ksh \ + tst.linkmap.ksh \ + tst.pidprint.ksh \ + tst.pidprinttarg.ksh \ + tst.printtype.ksh \ + tst.printtype.ksh.out \ + tst.printtypetarg.ksh \ + tst.userlandkey.ksh \ + tst.userlandkey.ksh.out \ + tst.userstrings.ksh \ + tst.userstrings.ksh.out \ + +TESTEXES= \ + + +CFILES= \ + tst.aouttype.c \ + tst.chasestrings.c \ + tst.libtype.c \ + tst.printtype.c \ + + +WITH_CTF=YES + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/union/Makefile b/cddl/usr.sbin/dtrace/tests/common/union/Makefile new file mode 100644 index 000000000000..69e0ca864cee --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/union/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + err.D_ADDROF_VAR.UnionPointer.d \ + err.D_DECL_COMBO.UnionWithoutColon.d \ + err.D_DECL_COMBO.UnionWithoutColon1.d \ + err.D_DECL_INCOMPLETE.circular.d \ + err.D_DECL_INCOMPLETE.order.d \ + err.D_DECL_INCOMPLETE.recursive.d \ + err.D_DECL_INCOMPLETE.simple.d \ + err.D_PROTO_ARG.DupUnionAssoc.d \ + tst.UnionAssoc.d \ + tst.UnionDataTypes.d \ + tst.UnionInside.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/usdt/Makefile b/cddl/usr.sbin/dtrace/tests/common/usdt/Makefile new file mode 100644 index 000000000000..f6fa49b1794c --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/usdt/Makefile @@ -0,0 +1,65 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + argmap.d \ + args.d \ + forker.d \ + prov.d \ + tst.andpid.ksh \ + tst.argmap.d \ + tst.args.d \ + tst.badguess.ksh \ + tst.corruptenv.ksh \ + tst.dlclose1.ksh \ + tst.dlclose1.ksh.out \ + tst.dlclose2.ksh \ + tst.dlclose2.ksh.out \ + tst.dlclose3.ksh \ + tst.eliminate.ksh \ + tst.enabled.ksh \ + tst.enabled.ksh.out \ + tst.enabled2.ksh \ + tst.enabled2.ksh.out \ + tst.entryreturn.ksh \ + tst.entryreturn.ksh.out \ + tst.fork.ksh \ + tst.fork.ksh.out \ + tst.forker.ksh \ + tst.guess32.ksh \ + tst.guess64.ksh \ + tst.header.ksh \ + tst.include.ksh \ + tst.linkpriv.ksh \ + tst.linkunpriv.ksh \ + tst.multiple.ksh \ + tst.multiple.ksh.out \ + tst.multiprov.ksh \ + tst.multiprov.ksh.out \ + tst.nodtrace.ksh \ + tst.noprobes.ksh \ + tst.noreap.ksh \ + tst.noreapring.ksh \ + tst.onlyenabled.ksh \ + tst.reap.ksh \ + tst.reeval.ksh \ + tst.static.ksh \ + tst.static.ksh.out \ + tst.static2.ksh \ + tst.static2.ksh.out \ + tst.user.ksh \ + tst.user.ksh.out \ + +TESTEXES= \ + + +CFILES= \ + tst.argmap.c \ + tst.args.c \ + tst.forker.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/ustack/Makefile b/cddl/usr.sbin/dtrace/tests/common/ustack/Makefile new file mode 100644 index 000000000000..960c407b108e --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/ustack/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.bigstack.d \ + tst.depth.ksh \ + tst.spin.ksh \ + +TESTEXES= \ + + +CFILES= \ + tst.bigstack.c \ + tst.spin.c \ + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/vars/Makefile b/cddl/usr.sbin/dtrace/tests/common/vars/Makefile new file mode 100644 index 000000000000..5b4755750dd9 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/vars/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.gid.d \ + tst.nullassign.d \ + tst.ppid.d \ + tst.ucaller.ksh \ + tst.ucaller.ksh.out \ + tst.uid.d \ + tst.walltimestamp.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/common/version/Makefile b/cddl/usr.sbin/dtrace/tests/common/version/Makefile new file mode 100644 index 000000000000..0491ceaff2c8 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/common/version/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ + +# +# This Makefile was generated by $srcdir/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh. +# + +TESTFILES= \ + tst.1.0.d \ + +TESTEXES= \ + + +CFILES= \ + + + +.include "../../Makefile.inc1" diff --git a/cddl/usr.sbin/dtrace/tests/tools/exclude.sh b/cddl/usr.sbin/dtrace/tests/tools/exclude.sh new file mode 100755 index 000000000000..a42773daae37 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/tools/exclude.sh @@ -0,0 +1,194 @@ +# $FreeBSD$ + +# This file lists DTrace tests which are known to fail or hang/crash the +# system. They were pulled from the legacy DTrace test infrastructure in +# tools/tests/dtrace and may be out of date. +# +# Tests are listed here generally because one or more of the following is true: +# +# 1) The test is broken (usually because it assumes it's running on Solaris and +# the test encodes some sort of Solarisism). +# 2) The functionality being tested is buggy (often but not always the result +# of a FreeBSD-specific bug). +# 3) The test relies on DTrace functionality that's not yet available in FreeBSD +# (e.g. tests for a specific SDT provider that we don't have). +# +# An end goal is to remove this file, concentrating first on instances of +# 1) and 2). +# +# The SKIP variable contains tests that should not be executed at all. The +# EXFAIL variable contains tests that are expected to fail when run. Please +# avoid adding tests to SKIP unless it really is necessary; with EXFAIL, tests +# that begin passing as the result of a change are visible in the test summary. + +exclude() +{ + eval $1=\"\$$1\\n$2\" +} + +exclude EXFAIL common/aggs/tst.subr.d +exclude EXFAIL common/dtraceUtil/tst.DataModel32.d.ksh +exclude EXFAIL common/dtraceUtil/tst.ELFGenerationOut.d.ksh +exclude EXFAIL common/dtraceUtil/tst.ELFGenerationWithO.d.ksh +exclude EXFAIL common/funcs/tst.copyin.d +exclude EXFAIL common/funcs/tst.copyinto.d +exclude EXFAIL common/funcs/tst.ddi_pathname.d +exclude EXFAIL common/io/tst.fds.d +exclude EXFAIL common/ip/tst.ipv4localudp.ksh +exclude EXFAIL common/mdb/tst.dtracedcmd.ksh +exclude EXFAIL common/misc/tst.dofmax.ksh +exclude EXFAIL common/misc/tst.include.ksh +exclude EXFAIL common/pragma/tst.libchain.ksh +exclude EXFAIL common/safety/tst.copyin2.d +exclude EXFAIL common/safety/tst.msgdsize.d +exclude EXFAIL common/safety/tst.msgsize.d +exclude EXFAIL common/safety/tst.zonename.d +exclude EXFAIL common/scalars/tst.misc.d +exclude EXFAIL common/scalars/tst.selfarray2.d +exclude EXFAIL common/sched/tst.enqueue.d +exclude EXFAIL common/speculation/tst.SpecSizeVariations3.d +exclude EXFAIL common/tracemem/err.D_TRACEMEM_ADDR.badaddr.d +exclude EXFAIL common/translators/tst.TestTransStability2.ksh +exclude EXFAIL common/types/tst.struct.d +exclude EXFAIL common/types/tst.typedef.d + +# We don't have a cpc provider. +exclude SKIP common/cpc/err.D_PDESC_ZERO.lowfrequency.d +exclude SKIP common/cpc/err.D_PDESC_ZERO.malformedoverflow.d +exclude SKIP common/cpc/err.D_PDESC_ZERO.nonexistentevent.d +exclude SKIP common/cpc/err.cpcvscpustatpart1.ksh +exclude SKIP common/cpc/err.cpcvscpustatpart2.ksh +exclude SKIP common/cpc/err.cputrackfailtostart.ksh +exclude SKIP common/cpc/err.cputrackterminates.ksh +exclude SKIP common/cpc/err.toomanyenablings.d +exclude SKIP common/cpc/tst.allcpus.ksh +exclude SKIP common/cpc/tst.genericevent.d +exclude SKIP common/cpc/tst.platformevent.ksh + +# We don't have a mib provider. +exclude EXFAIL common/mib/tst.icmp.ksh +exclude EXFAIL common/mib/tst.tcp.ksh +exclude EXFAIL common/mib/tst.udp.ksh + +# At the moment dtrace(1) always needs to run as root. +exclude SKIP common/privs/tst.fds.ksh +exclude SKIP common/privs/tst.func_access.ksh +exclude SKIP common/privs/tst.getf.ksh +exclude SKIP common/privs/tst.op_access.ksh +exclude SKIP common/privs/tst.procpriv.ksh +exclude SKIP common/privs/tst.providers.ksh +exclude SKIP common/privs/tst.unpriv_funcs.ksh + +# These tests hang for reasons unknown. +exclude SKIP common/buffering/tst.ring3.d +exclude SKIP common/funcs/tst.chill.ksh +exclude SKIP common/funcs/tst.index.d + +# No Java support at the moment. +exclude EXFAIL common/java_api/tst.Abort.ksh +exclude EXFAIL common/java_api/tst.Bean.ksh +exclude EXFAIL common/java_api/tst.Close.ksh +exclude EXFAIL common/java_api/tst.Drop.ksh +exclude EXFAIL common/java_api/tst.Enable.ksh +exclude EXFAIL common/java_api/tst.FunctionLookup.ksh +exclude EXFAIL common/java_api/tst.GetAggregate.ksh +exclude EXFAIL common/java_api/tst.MaxConsumers.ksh +exclude EXFAIL common/java_api/tst.MultiAggPrinta.ksh +exclude EXFAIL common/java_api/tst.ProbeData.ksh +exclude EXFAIL common/java_api/tst.ProbeDescription.ksh +exclude EXFAIL common/java_api/tst.StateMachine.ksh +exclude EXFAIL common/java_api/tst.StopLock.ksh + +# Expects specific formatting from banner(6). +exclude EXFAIL common/aggs/tst.aggpackbanner.ksh + +# Test assumes we're running on a Solaris kernel. +exclude EXFAIL common/misc/tst.roch.d +exclude EXFAIL common/predicates/tst.argsnotcached.d +exclude EXFAIL common/safety/tst.vahole.d + +# Tests that depend on the plockstat provider. +exclude EXFAIL common/plockstat/tst.available.d +exclude EXFAIL common/plockstat/tst.libmap.d +exclude EXFAIL common/usdt/tst.andpid.ksh + +# Depends on java. +exclude SKIP common/drops/drp.DTRACEDROP_STKSTROVERFLOW.d + +# Interrupt priority isn't relevant on FreeBSD. +exclude SKIP common/builtinvar/tst.ipl.d +exclude SKIP common/builtinvar/tst.ipl1.d + +# These tests rely on being able to find a host via broadcast pings. +exclude EXFAIL common/ip/tst.ipv4remotetcp.ksh +exclude EXFAIL common/ip/tst.ipv4remoteudp.ksh +exclude EXFAIL common/ip/tst.ipv6remoteicmp.ksh +exclude EXFAIL common/ip/tst.ipv4remoteicmp.ksh + +# FreeBSD never places tcpcbs in the TIME_WAIT state, so the probe never fires. +exclude EXFAIL common/ip/tst.localtcpstate.ksh +exclude EXFAIL common/ip/tst.remotetcpstate.ksh + +# Depends on the number of probes in /bin/sh and the current DOF limit. +exclude EXFAIL common/pid/err.D_PROC_CREATEFAIL.many.d + +# Tries to enable pid$target:libc::entry, though there's no "libc" module. +# Currently unsure as to whether this might be a libproc bug. +exclude EXFAIL common/pid/tst.probemod.ksh + +# Assumes date(1) has a pid$target::main:return probe. +exclude EXFAIL common/pid/tst.newprobes.ksh + +# libproc+librtld_db don't handle dlopen(2) yet. +exclude EXFAIL common/pid/tst.provregex2.ksh +exclude EXFAIL common/pid/tst.provregex4.ksh + +# libproc doesn't properly handle probe sites that correspond to multiple +# symbols. +exclude EXFAIL common/pid/tst.weak1.d +exclude EXFAIL common/pid/tst.weak2.d + +# This test checks for a leading tab on a line before #define. That is illegal +# on Solaris, but the clang pre-processor on FreeBSD is happy with code like +# that. +exclude EXFAIL common/preprocessor/err.D_PRAGCTL_INVAL.tabdefine.d + +# This test uses proc:::signal-handle, which we don't appear to have. +exclude EXFAIL common/proc/tst.signal.ksh + +# This test uses proc:::lwp-start, which we don't appear to have. +exclude EXFAIL common/proc/tst.startexit.ksh + +# This test causes a panic at the moment because fbt instruments the lock class' +# lc_owned method. +exclude SKIP common/safety/tst.rw.d + +# Depends on some implementation details of the runtime linker. +exclude EXFAIL common/vars/tst.ucaller.ksh + +# These rely on process attributes that FreeBSD doesn't carry. +exclude EXFAIL common/scripting/tst.projid.ksh +exclude EXFAIL common/scripting/tst.taskid.ksh + +# This test expects its test program to be installed without CTF data, but +# the rest of the programs for this feature need CTF data. Not yet sure how +# to build that. +exclude EXFAIL common/uctf/tst.libtype.ksh + +# libproc doesn't have linkmap support yet. +exclude EXFAIL common/uctf/tst.linkmap.ksh + +# Uses Sun-specific compiler options. +exclude EXFAIL common/usdt/tst.badguess.ksh +exclude EXFAIL common/usdt/tst.guess32.ksh +exclude EXFAIL common/usdt/tst.guess64.ksh + +# Generated headers include , so _DTRACE_VERSION is always defined. +exclude EXFAIL common/usdt/tst.nodtrace.ksh + +# The second dtrace -G invocation returns an error with "no probes found," which +# makes sense to me. Not yet sure what the expected behaviour is here. +exclude EXFAIL common/usdt/tst.static2.ksh + +# Uses the Solaris-specific ppriv(1). +exclude EXFAIL common/usdt/tst.user.ksh diff --git a/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh b/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh new file mode 100755 index 000000000000..bf0e181684d1 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/tools/genmakefiles.sh @@ -0,0 +1,85 @@ +# $FreeBSD$ + +usage() +{ + cat <<__EOF__ >&2 +usage: $(basename $0) + +This script regenerates the DTrace test suite makefiles. It should be run +whenever \$srcdir/cddl/contrib/opensolaris/cmd/dtrace/test/tst is modified. +__EOF__ + exit 1 +} + +# Format a file list for use in a make(1) variable assignment: take the +# basename of each input file and append " \" to it. +fmtflist() +{ + awk 'function bn(f) { + sub(".*/", "", f) + return f + } + {print " ", bn($1), " \\"}' +} + +genmakefile() +{ + local basedir=$1 + + local tdir=${CONTRIB_TESTDIR}/${basedir} + local tfiles=$(find $tdir -type f -a \ + \( -name \*.d -o -name \*.ksh -o -name \*.out \) | sort | fmtflist) + local tcfiles=$(find $tdir -type f -a -name \*.c | sort | fmtflist) + local texes=$(find $tdir -type f -a -name \*.exe | sort | fmtflist) + + # One-off variable definitions. + local special + if [ "$basedir" = proc ]; then + special=" +LDADD.tst.sigwait.exe+= -lrt +DPADD.tst.sigwait.exe+= \${LIBRT} +" + elif [ "$basedir" = uctf ]; then + special=" +WITH_CTF=YES +" + fi + + local makefile=$(mktemp) + cat <<__EOF__ > $makefile +# \$FreeBSD$ + +# +# This Makefile was generated by \$srcdir${ORIGINDIR#${TOPDIR}}/genmakefiles.sh. +# + +TESTFILES= \\ +$tfiles + +TESTEXES= \\ +$texes + +CFILES= \\ +$tcfiles + +$special +.include "../../Makefile.inc1" +__EOF__ + + mv -f $makefile ${ORIGINDIR}/../common/${basedir}/Makefile +} + +set -e + +if [ $# -ne 0 ]; then + usage +fi + +readonly ORIGINDIR=$(realpath $(dirname $0)) +readonly TOPDIR=$(realpath ${ORIGINDIR}/../../../../..) +readonly CONTRIB_TESTDIR=${TOPDIR}/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common + +# Generate a Makefile for each test group under common/. +for dir in $(find ${CONTRIB_TESTDIR} -mindepth 1 -maxdepth 1 -type d); do + genmakefile $(basename $dir) +done diff --git a/cddl/usr.sbin/dtrace/tests/tools/gentest.sh b/cddl/usr.sbin/dtrace/tests/tools/gentest.sh new file mode 100755 index 000000000000..a63f7465a986 --- /dev/null +++ b/cddl/usr.sbin/dtrace/tests/tools/gentest.sh @@ -0,0 +1,110 @@ +# $FreeBSD$ + +usage() +{ + cat <<__EOF__ >&2 +Generate ATF test cases from a set of DTrace tests. + +usage: sh $(basename $0) [-e ] [] + + excludes: A shell script which defines test cases that are to be skipped, + or aren't expected to pass. + category: The test category, in the form of /. For example, + "common/aggs" is the test category for D aggregations. + testfiles: The test files for the tests in the specified category. +__EOF__ + exit 1 +} + +gentestcase() +{ + local mod tcase tfile + + tfile=$1 + tcase=$2 + mod=$3 + + cat <<__EOF__ +atf_test_case $tcase +${tcase}_head() +{ + atf_set 'descr' 'DTrace test ${CATEGORY}/${tfile}' +} +${tcase}_body() +{ + $mod + atf_check -s exit:0 -o ignore -e ignore \\ + "\$(atf_get_srcdir)/../../dtest" -n "\$(atf_get_srcdir)/${tfile}" +} +__EOF__ +} + +gentestcases() +{ + local mod tcase tfile tfiles + + eval tfiles=\$$1 + mod=$2 + + for tfile in ${tfiles}; do + case $tfile in + drp.*.d|err.*.d|tst.*.d|*.ksh) + # Test names need to be mangled for ATF. + tcase=$(echo "$tfile" | tr '.-' '_') + gentestcase "$tfile" "$tcase" "$mod" + TCASES="$TCASES $tcase" + ;; + esac + done +} + +set -e + +# +# Parse arguments. +# +case $1 in +-e) + shift; EXCLUDES=$1; shift + ;; +esac + +CATEGORY=$1 +shift +if ! expr "$CATEGORY" : '[^/]*/[^/]*' >/dev/null 2>&1; then + usage +fi +FEATURE=$(basename ${CATEGORY}) +ARCH=$(dirname ${CATEGORY}) + +# +# Remove skipped tests and expected failures from the main test list. +# +. $EXCLUDES +EXFAILS=$(echo -e "$EXFAIL" | grep "^${CATEGORY}/" | xargs basename -a) +SKIPS=$(echo -e "$SKIP" | grep "^${CATEGORY}/" | xargs basename -a) + +FILELIST=$(mktemp) +trap 'rm -f $FILELIST' EXIT + +echo "$@" | tr ' ' '\n' | xargs basename -a | sort > ${FILELIST} +TFILES=$(printf '%s\n%s' "$EXFAILS" "$SKIPS" | sort | comm -13 /dev/stdin $FILELIST) + +# +# Generate test cases. +# +gentestcases SKIPS "atf_skip \"test may hang or cause system instability\"" +gentestcases EXFAILS "atf_expect_fail \"test is known to fail\"" +gentestcases TFILES + +# +# Generate the test init function. +# +cat <<__EOF__ +atf_init_test_cases() +{ +$(for tcase in ${TCASES}; do echo " atf_add_test_case $tcase"; done) +} +__EOF__ + +rm -f $FILELIST diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 7ea2155d3727..35e1c062b1e9 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -49,6 +49,168 @@ usr.bin .. usr.sbin + dtrace + common + aggs + .. + arithmetic + .. + arrays + .. + assocs + .. + begin + .. + bitfields + .. + buffering + .. + builtinvar + .. + cg + .. + clauses + .. + cpc + .. + decls + .. + drops + .. + dtraceUtil + .. + end + .. + enum + .. + error + .. + exit + .. + fbtprovider + .. + funcs + .. + grammar + .. + include + .. + inline + .. + io + .. + ip + .. + java_api + .. + json + .. + lexer + .. + llquantize + .. + mdb + .. + mib + .. + misc + .. + multiaggs + .. + offsetof + .. + operators + .. + pid + .. + plockstat + .. + pointers + .. + pragma + .. + predicates + .. + preprocessor + .. + print + .. + printa + .. + printf + .. + privs + .. + probes + .. + proc + .. + profile-n + .. + providers + .. + raise + .. + rates + .. + safety + .. + scalars + .. + sched + .. + scripting + .. + sdt + .. + sizeof + .. + speculation + .. + stability + .. + stack + .. + stackdepth + .. + stop + .. + strlen + .. + strtoll + .. + struct + .. + syscall + .. + sysevent + .. + tick-n + .. + trace + .. + tracemem + .. + translators + .. + typedef + .. + types + .. + uctf + .. + union + .. + usdt + .. + ustack + .. + vars + .. + version + .. + .. + .. .. .. etc -- cgit v1.2.3