File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -415,13 +415,7 @@ def mx_os
415
415
end
416
416
end
417
417
418
- def mspec ( command , *args )
419
- env_vars = { }
420
- if command . is_a? ( Hash )
421
- env_vars = command
422
- command , *args = args
423
- end
424
-
418
+ def run_mspec ( env_vars , command = 'run' , *args )
425
419
mspec_args = [ 'spec/mspec/bin/mspec' , command , '--config' , 'spec/truffle.mspec' ]
426
420
427
421
if i = args . index ( '-t' )
@@ -1237,7 +1231,7 @@ def test_bundle(*args)
1237
1231
end
1238
1232
1239
1233
def mspec ( *args )
1240
- super ( *args )
1234
+ run_mspec ( { } , *args )
1241
1235
end
1242
1236
1243
1237
def test_specs ( command , *args )
@@ -1314,7 +1308,7 @@ def test_specs(command, *args)
1314
1308
build ( "cexts" )
1315
1309
end
1316
1310
1317
- mspec env_vars , command , *options , *args
1311
+ run_mspec env_vars , command , *options , *args
1318
1312
end
1319
1313
private :test_specs
1320
1314
You can’t perform that action at this time.
0 commit comments