Skip to content

Commit 2c0b6a4

Browse files
committed
Limit search directories for testing
1 parent f8cfc3e commit 2c0b6a4

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

lib/node_modules/@stdlib/_tools/pkgs/addons/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of packages', opts, function tes
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'blas' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'blas' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/blas/base/dasum/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/browser-compatible/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of package names', opts, functio
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'math' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/math/base/special/**/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/clis/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of command-line interfaces', opt
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', '_tools' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/pkgs/addons/package.json\'' // this package
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/cmds/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of command-line interface comman
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', '_tools' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/pkgs/addons/package.json\'' // this package
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/find/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of packages', opts, function tes
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', '_tools' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/pkgs/find/package.json\'' // this package
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/names/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of package names', opts, functio
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'blas' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/blas/base/dasum/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/namespaces/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of namespaces', opts, function t
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'math' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'math' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/math/base/special/**/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/readmes/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of files', opts, function test(
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'blas' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/blas/base/dasum/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/repl-help/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a list of files', opts, function test(
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'assert' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'blas' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/blas/base/dasum/package.json\''
171171
];
172172

lib/node_modules/@stdlib/_tools/pkgs/tree/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ tape( 'the command-line interface prints a package tree', opts, function test( t
146146
var cmd = [
147147
EXEC_PATH,
148148
fpath,
149-
resolve( __dirname, '..', '..', '..', '..', '..' ) // WARNING: fragile, as assumes a particular directory structure
149+
resolve( __dirname, '..', '..', '..', '..', 'math' ) // WARNING: fragile, as assumes a particular directory structure
150150
];
151151

152152
exec( cmd.join( ' ' ), done );
@@ -166,7 +166,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
166166
var cmd = [
167167
EXEC_PATH,
168168
fpath,
169-
resolve( __dirname, '..', '..', '..', '..', '..' ), // WARNING: fragile, as assumes a particular directory structure
169+
resolve( __dirname, '..', '..', '..', '..', 'math' ), // WARNING: fragile, as assumes a particular directory structure
170170
'--pattern \'**/math/base/special/erf/package.json\''
171171
];
172172

0 commit comments

Comments
 (0)