@@ -108,6 +108,9 @@ pub struct TestProps {
108
108
pub force_host : bool ,
109
109
// Check stdout for error-pattern output as well as stderr
110
110
pub check_stdout : bool ,
111
+ // For parallel front end, use repeated tests to ensure
112
+ // there is no deadlock or other ice problems.
113
+ pub parallel_front_end_robustness : bool ,
111
114
// Check stdout & stderr for output of run-pass test
112
115
pub check_run_results : bool ,
113
116
// For UI tests, allows compiler to generate arbitrary output to stdout
@@ -211,6 +214,7 @@ mod directives {
211
214
pub const CHECK_RUN_RESULTS : & ' static str = "check-run-results" ;
212
215
pub const DONT_CHECK_COMPILER_STDOUT : & ' static str = "dont-check-compiler-stdout" ;
213
216
pub const DONT_CHECK_COMPILER_STDERR : & ' static str = "dont-check-compiler-stderr" ;
217
+ pub const PARALLEL_FRONT_END_ROBUTNESS : & ' static str = "parallel-front-end-robustness" ;
214
218
pub const NO_PREFER_DYNAMIC : & ' static str = "no-prefer-dynamic" ;
215
219
pub const PRETTY_MODE : & ' static str = "pretty-mode" ;
216
220
pub const PRETTY_COMPARE_ONLY : & ' static str = "pretty-compare-only" ;
@@ -270,6 +274,7 @@ impl TestProps {
270
274
dont_check_compiler_stdout : false ,
271
275
dont_check_compiler_stderr : false ,
272
276
no_prefer_dynamic : false ,
277
+ parallel_front_end_robustness : false ,
273
278
pretty_mode : "normal" . to_string ( ) ,
274
279
pretty_compare_only : false ,
275
280
forbid_output : vec ! [ ] ,
@@ -503,6 +508,11 @@ impl TestProps {
503
508
DONT_CHECK_FAILURE_STATUS ,
504
509
& mut self . dont_check_failure_status ,
505
510
) ;
511
+ config. set_name_directive (
512
+ ln,
513
+ PARALLEL_FRONT_END_ROBUTNESS ,
514
+ & mut self . parallel_front_end_robustness ,
515
+ ) ;
506
516
507
517
config. set_name_directive ( ln, RUN_RUSTFIX , & mut self . run_rustfix ) ;
508
518
config. set_name_directive (
0 commit comments