Date: Wed, 22 Nov 2017 15:54:52 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326096 - head/cddl/usr.sbin/dtrace/tests/tools Message-ID: <201711221554.vAMFsqnG053793@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Wed Nov 22 15:54:52 2017 New Revision: 326096 URL: https://svnweb.freebsd.org/changeset/base/326096 Log: Annotate pragma/err.invalidlibdep.ksh as EXFAIL. The test creates a D library with a "depends_on library" pragma referencing a non-existent library, and expects compilation to fail. However, as far as I can tell, libdtrace is supposed simply abort compilation of the library in this case, and continue. This behaviour is desirable when adding libraries which depend on optional KLDs, for example. MFC after: 1 week Modified: head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Modified: head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh ============================================================================== --- head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Wed Nov 22 15:27:47 2017 (r326095) +++ head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Wed Nov 22 15:54:52 2017 (r326096) @@ -139,6 +139,11 @@ exclude EXFAIL common/pid/tst.newprobes.ksh exclude EXFAIL common/pid/tst.provregex2.ksh exclude EXFAIL common/pid/tst.provregex4.ksh +# This test appears to be invalid. dtrace is supposed to press on if a +# depends_on pragma cannot be satisfied, per the comment above +# dt_load_libs_dir() in libdtrace. +exclude EXFAIL common/pragma/err.invalidlibdep.ksh + # 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711221554.vAMFsqnG053793>