@@ -77,10 +77,6 @@ pub fn parse_config(args: Vec<String> ) -> Config {
77
77
optopt( "" , "target-rustcflags" , "flags to pass to rustc for target" , "FLAGS" ) ,
78
78
optflag( "" , "verbose" , "run tests verbosely, showing all output" ) ,
79
79
optopt( "" , "logfile" , "file to log test execution to" , "FILE" ) ,
80
- optopt( "" , "save-metrics" , "file to save metrics to" , "FILE" ) ,
81
- optopt( "" , "ratchet-metrics" , "file to ratchet metrics against" , "FILE" ) ,
82
- optopt( "" , "ratchet-noise-percent" ,
83
- "percent change in metrics to consider noise" , "N" ) ,
84
80
optflag( "" , "jit" , "run tests under the JIT" ) ,
85
81
optopt( "" , "target" , "the target to build for" , "TARGET" ) ,
86
82
optopt( "" , "host" , "the host to build for" , "HOST" ) ,
@@ -90,7 +86,6 @@ pub fn parse_config(args: Vec<String> ) -> Config {
90
86
optopt( "" , "adb-path" , "path to the android debugger" , "PATH" ) ,
91
87
optopt( "" , "adb-test-dir" , "path to tests for the android debugger" , "PATH" ) ,
92
88
optopt( "" , "lldb-python-dir" , "directory containing LLDB's python module" , "PATH" ) ,
93
- optopt( "" , "test-shard" , "run shard A, of B shards, worth of the testsuite" , "A.B" ) ,
94
89
optflag( "h" , "help" , "show this message" ) ) ;
95
90
96
91
assert ! ( !args. is_empty( ) ) ;
@@ -152,12 +147,6 @@ pub fn parse_config(args: Vec<String> ) -> Config {
152
147
filter : filter,
153
148
cfail_regex : Regex :: new ( errors:: EXPECTED_PATTERN ) . unwrap ( ) ,
154
149
logfile : matches. opt_str ( "logfile" ) . map ( |s| Path :: new ( s) ) ,
155
- save_metrics : matches. opt_str ( "save-metrics" ) . map ( |s| Path :: new ( s) ) ,
156
- ratchet_metrics :
157
- matches. opt_str ( "ratchet-metrics" ) . map ( |s| Path :: new ( s) ) ,
158
- ratchet_noise_percent :
159
- matches. opt_str ( "ratchet-noise-percent" )
160
- . and_then ( |s| s. as_slice ( ) . parse :: < f64 > ( ) ) ,
161
150
runtool : matches. opt_str ( "runtool" ) ,
162
151
host_rustcflags : matches. opt_str ( "host-rustcflags" ) ,
163
152
target_rustcflags : matches. opt_str ( "target-rustcflags" ) ,
@@ -176,7 +165,6 @@ pub fn parse_config(args: Vec<String> ) -> Config {
176
165
opt_str2 ( matches. opt_str ( "adb-test-dir" ) ) . as_slice ( ) &&
177
166
!opt_str2 ( matches. opt_str ( "adb-test-dir" ) ) . is_empty ( ) ,
178
167
lldb_python_dir : matches. opt_str ( "lldb-python-dir" ) ,
179
- test_shard : test:: opt_shard ( matches. opt_str ( "test-shard" ) ) ,
180
168
verbose : matches. opt_present ( "verbose" ) ,
181
169
}
182
170
}
@@ -210,10 +198,6 @@ pub fn log_config(config: &Config) {
210
198
logv ( c, format ! ( "adb_test_dir: {:?}" , config. adb_test_dir) ) ;
211
199
logv ( c, format ! ( "adb_device_status: {}" ,
212
200
config. adb_device_status) ) ;
213
- match config. test_shard {
214
- None => logv ( c, "test_shard: (all)" . to_string ( ) ) ,
215
- Some ( ( a, b) ) => logv ( c, format ! ( "test_shard: {}.{}" , a, b) )
216
- }
217
201
logv ( c, format ! ( "verbose: {}" , config. verbose) ) ;
218
202
logv ( c, format ! ( "\n " ) ) ;
219
203
}
@@ -284,15 +268,8 @@ pub fn test_opts(config: &Config) -> test::TestOpts {
284
268
logfile : config. logfile . clone ( ) ,
285
269
run_tests : true ,
286
270
run_benchmarks : true ,
287
- ratchet_metrics : config. ratchet_metrics . clone ( ) ,
288
- ratchet_noise_percent : config. ratchet_noise_percent . clone ( ) ,
289
- save_metrics : config. save_metrics . clone ( ) ,
290
- test_shard : config. test_shard . clone ( ) ,
291
271
nocapture : false ,
292
272
color : test:: AutoColor ,
293
- show_boxplot : false ,
294
- boxplot_width : 50 ,
295
- show_all_stats : false ,
296
273
}
297
274
}
298
275
0 commit comments