File tree 4 files changed +13
-9
lines changed
4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 34
34
},
35
35
"devDependencies" : {
36
36
"underscore" : " 1.6.0" ,
37
- "urun" : " 0.0.7 " ,
37
+ "urun" : " 0.0.8 " ,
38
38
"utest" : " 0.0.8"
39
39
},
40
40
"engines" : {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ var assert = require('assert');
11
11
12
12
var errors = [ ] ;
13
13
process . on ( 'uncaughtException' , function ( err ) {
14
- console . log ( err . stack ) ;
15
14
errors . push ( err ) ;
16
15
} ) ;
17
16
Original file line number Diff line number Diff line change
1
+ var urun = require ( 'urun' ) ;
2
+
1
3
var options = { } ;
2
4
3
5
if ( process . env . FILTER ) {
4
6
options . include = new RegExp ( process . env . FILTER + '.*\\.js$' ) ;
5
7
}
6
8
7
9
options . reporter = 'BashTapReporter' ;
10
+ options . verbose = process . env . VERBOSE
11
+ ? Boolean ( JSON . parse ( process . env . VERBOSE ) )
12
+ : true ;
8
13
9
- require ( ' urun' ) ( __dirname , options ) ;
14
+ urun ( __dirname , options ) ;
Original file line number Diff line number Diff line change 1
1
/**
2
- * This test is skipped, if the environment variable "windir" is set.
3
- * It assumes that it runs on a windows system then.
2
+ * This test is skipped on Windows.
4
3
*/
5
- if ( process . env . windir ) {
6
- return console . log ( 'Skipping "test-unix-domain-socket.js" - Environment'
7
- + ' variable "windir" is set. Skipping this, because we seem to be on'
8
- + ' a windows system' ) ;
4
+
5
+ if ( process . platform === 'win32' ) {
6
+ console . log ( 'skipping - windows does not support unix sockets' ) ;
7
+ return ;
9
8
}
9
+
10
10
var common = require ( '../../common' ) ;
11
11
var connection = common . createConnection ( { socketPath : common . fakeServerSocket } ) ;
12
12
var assert = require ( 'assert' ) ;
You can’t perform that action at this time.
0 commit comments