Make it more clear that you can run most of the test suite without root and how to skip the root-y parts.
This commit is contained in:
parent
bed6fbfb66
commit
a96a1d50b3
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -78,6 +78,7 @@ distclean:
|
|||
test: $(NODEUNIT)
|
||||
test -z "$(DTRACE_UP_IN_HERE)" || test -n "$(SKIP_DTRACE)" || \
|
||||
(node -e 'require("dtrace-provider").createDTraceProvider("isthisthingon")' && \
|
||||
echo "\nNote: Use 'SKIP_DTRACE=1 make test' to skip parts of the test suite that require root." && \
|
||||
$(SUDO) $(NODEUNIT) test/dtrace.test.js)
|
||||
$(NODEUNIT) $(NON_DTRACE_TEST_FILES)
|
||||
|
||||
|
|
Loading…
Reference in a new issue