Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/capsicum-test/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
.PATH: ${SRCTOP}/contrib/capsicum-test | |||||
TESTSDIR= ${TESTSBASE}/sys/capsicum-test | |||||
GTESTS+= capsicum-test | |||||
SRCS.capsicum-test+= \ | |||||
capsicum-test-main.cc \ | |||||
capsicum-test.cc \ | |||||
capability-fd.cc \ | |||||
fexecve.cc \ | |||||
procdesc.cc \ | |||||
capmode.cc \ | |||||
fcntl.cc \ | |||||
ioctl.cc \ | |||||
openat.cc \ | |||||
sysctl.cc \ | |||||
select.cc \ | |||||
mqueue.cc \ | |||||
socket.cc \ | |||||
sctp.cc \ | |||||
capability-fd-pair.cc \ | |||||
overhead.cc \ | |||||
rename.cc | |||||
SRCS.smoketest+= \ | |||||
asomers: Shouldn't smoketest be added to GTESTS or PROGS ? And regardless, there's no reason to split… | |||||
ngieAuthorUnsubmitted Done Inline ActionsI removed it, since it was an unnecessary auxiliary program. ngie: I removed it, since it was an unnecessary auxiliary program. | |||||
asomersUnsubmitted Done Inline ActionsIf you removed it, then why do you still set its SRCS ? asomers: If you removed it, then why do you still set its SRCS ? | |||||
ngieAuthorUnsubmitted Done Inline ActionsMy adding it was because I was trying to directly port it from the capsicum-test project. Once I determined that it was no longer needed, I thought it was better to just drop the smoke test *shrugs*. ngie: My adding it was because I was trying to directly port it from the capsicum-test project. Once… | |||||
smoketest.c | |||||
LIBADD.capsicum-test+= gtest pthread | |||||
.for p in mini-me mini-me.noexec mini-me.setuid | |||||
PROGS+= $p | |||||
NO_SHARED.$p= | |||||
SRCS.$p= mini-me.c | |||||
.endfor | |||||
BINDIR= ${TESTSDIR} | |||||
BINMODE.mini-me.noexec= ${NOBINMODE} | |||||
BINMODE.mini-me.setuid= 4444 | |||||
WARNS?= 3 | |||||
.include <bsd.test.mk> |
Shouldn't smoketest be added to GTESTS or PROGS ? And regardless, there's no reason to split lines when there's only a single source file.