back to dtrace-provider dep
This commit is contained in:
parent
7e20b2d988
commit
da55eeee60
5 changed files with 8 additions and 6 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
## bunyan 0.16.3 (not yet released)
|
## bunyan 0.16.3 (not yet released)
|
||||||
|
|
||||||
(nothing yet)
|
- Drop 'trentm-dtrace-provider' fork dep now that
|
||||||
|
<https://github.com/chrisa/node-dtrace-provider/pull/24> has been resolved.
|
||||||
|
Back to dtrace-provider.
|
||||||
|
|
||||||
|
|
||||||
## bunyan 0.16.2
|
## bunyan 0.16.2
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -68,7 +68,7 @@ distclean:
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: $(TAP)
|
test: $(TAP)
|
||||||
[[ -n "$(SKIP_DTRACE)" ]] || \
|
[[ -n "$(SKIP_DTRACE)" ]] || \
|
||||||
node -e 'require("trentm-dtrace-provider").createDTraceProvider("isthisthingon")' && \
|
node -e 'require("dtrace-provider").createDTraceProvider("isthisthingon")' && \
|
||||||
$(SUDO) $(TAP) --tap test/dtrace.test.js
|
$(SUDO) $(TAP) --tap test/dtrace.test.js
|
||||||
$(TAP) --tap $(TEST_FILES)
|
$(TAP) --tap $(TEST_FILES)
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ var fs = require('fs');
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
try {
|
try {
|
||||||
var dtrace = require('trentm-dtrace-provider');
|
var dtrace = require('dtrace-provider');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
dtrace = null;
|
dtrace = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"keywords": ["log", "logging", "log4j", "json"],
|
"keywords": ["log", "logging", "log4j", "json"],
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"trentm-dtrace-provider": "0.2.4"
|
"dtrace-provider": "0.2.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tap": "0.2.0",
|
"tap": "0.2.0",
|
||||||
|
|
|
@ -15,9 +15,9 @@ var bunyan = require('../lib/bunyan');
|
||||||
var dtracePlats = ['sunos', 'darwin', 'freebsd'];
|
var dtracePlats = ['sunos', 'darwin', 'freebsd'];
|
||||||
var runDtraceTests = true;
|
var runDtraceTests = true;
|
||||||
try {
|
try {
|
||||||
require('trentm-dtrace-provider')
|
require('dtrace-provider')
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('# skip dtrace tests: no trentm-dtrace-provider module');
|
console.log('# skip dtrace tests: no dtrace-provider module');
|
||||||
runDtraceTests = false;
|
runDtraceTests = false;
|
||||||
}
|
}
|
||||||
if (!runDtraceTests) {
|
if (!runDtraceTests) {
|
||||||
|
|
Loading…
Reference in a new issue