File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ async function main() {
296
296
. boolean ( "headless" )
297
297
. default ( "headless" , false )
298
298
. boolean ( "smoketest" )
299
+ . string ( "type" )
299
300
. boolean ( "nothrottling" )
300
301
. default ( "nothrottling" , false )
301
302
. string ( "runner" )
@@ -383,6 +384,14 @@ async function main() {
383
384
( f ) => f . keyed || config . BENCHMARK_RUNNER !== BenchmarkRunner . WEBDRIVER_AFTERFRAME
384
385
) ;
385
386
387
+ if ( args . type == 'keyed' ) {
388
+ runFrameworks = runFrameworks . filter ( ( f ) => f . keyed ) ;
389
+ console . log ( "run only keyed frameworks" ) ;
390
+ } else if ( args . type == 'non-keyed' ) {
391
+ runFrameworks = runFrameworks . filter ( ( f ) => ! f . keyed ) ;
392
+ console . log ( "run only non-keyed frameworks" ) ;
393
+ }
394
+
386
395
console . log ( "ARGS.smotest" , args . smoketest ) ;
387
396
if ( args . smoketest ) {
388
397
config . WRITE_RESULTS = false ;
You can’t perform that action at this time.
0 commit comments