diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-10 02:21:57 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-10 02:21:57 +0000 |
commit | 53cc4303b98e85bc0144d9ddaff1c116c7e757a3 (patch) | |
tree | 9d884716d3ba0ff8e5a1e0d79ec3ee2ac55eab77 /tests/sys/kqueue/libkqueue/config.h | |
parent | 750f1a34fcae3f593c018c4da03043557f369339 (diff) | |
download | FreeBSD-src-53cc4303b98e85bc0144d9ddaff1c116c7e757a3.zip FreeBSD-src-53cc4303b98e85bc0144d9ddaff1c116c7e757a3.tar.gz |
MFC r304797,r305467:
r304797 (by jmmv):
Make use of Kyua's work directories.
Change the vnode tests to use the current directory when creating temporary
files, which we can assume is a volatile work directory, and then make the
kqueue_test.sh driver _not_ abandon the directory created by Kyua.
This makes the various kqueue tests independent of each other, and ensures
the temporary file is cleaned up on failure.
Problem spotted by asomers@ when reviewing D4254.
r305467:
Move tests/sys/kqueue/... to tests/sys/kqueue/libkqueue/...
This is being done to clearly distinguish the libkqueue tests
from the (soon to be imported) NetBSD tests.
Diffstat (limited to 'tests/sys/kqueue/libkqueue/config.h')
-rw-r--r-- | tests/sys/kqueue/libkqueue/config.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/sys/kqueue/libkqueue/config.h b/tests/sys/kqueue/libkqueue/config.h new file mode 100644 index 0000000..a204092 --- /dev/null +++ b/tests/sys/kqueue/libkqueue/config.h @@ -0,0 +1,13 @@ +/* $FreeBSD$ */ + +#define HAVE_ERR_H 1 +#define HAVE_SYS_EVENT_H 1 +#define HAVE_EV_DISPATCH 1 +#define HAVE_EV_RECEIPT 1 +#undef HAVE_NOTE_TRUNCATE +#define HAVE_EVFILT_TIMER 1 +#define HAVE_EVFILT_USER 1 +#define PROGRAM "libkqueue-test" +#define VERSION "0.1" +#define TARGET "freebsd" +#define CFLAGS "-g -O0 -Wall -Werror" |