Make it more clear that you can run most of the test suite without root and how to skip the root-y parts.

master
Trent Mick 2015-01-18 21:24:38 -08:00
parent bed6fbfb66
commit a96a1d50b3
1 changed files with 1 additions and 0 deletions

View File

@ -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)