@@ -78,8 +78,6 @@ pub enum OutputFormat {
7878 Terse ,
7979 /// JSON output
8080 Json ,
81- /// JUnit output
82- Junit ,
8381}
8482
8583impl Default for OutputFormat {
@@ -123,12 +121,11 @@ Options:
123121 on serially (default);
124122 always = always colorize output;
125123 never = never colorize output;
126- --format pretty|terse|json|junit
124+ --format pretty|terse|json
127125 Configure formatting of output:
128126 pretty = Print verbose output;
129127 terse = Display one character per test;
130128 json = Output a json document;
131- junit = Output a JUnit document
132129 --show-output Show captured stdout of successful tests
133130 -Z unstable-options Enable nightly-only flags:
134131 unstable-options = Allow use of experimental features
@@ -268,13 +265,12 @@ impl TestOptsBuilder {
268265 let format = parser
269266 . next_flag_value ( )
270267 . ok_or_missing ( Value ( std:: ffi:: OsStr :: new ( "FORMAT" ) ) )
271- . one_of ( & [ "pretty" , "terse" , "json" , "junit" ] )
268+ . one_of ( & [ "pretty" , "terse" , "json" ] )
272269 . within ( arg) ?;
273270 self . format = Some ( match format {
274271 "pretty" => OutputFormat :: Pretty ,
275272 "terse" => OutputFormat :: Terse ,
276273 "json" => OutputFormat :: Json ,
277- "junit" => OutputFormat :: Junit ,
278274 _ => unreachable ! ( "`one_of` should prevent this" ) ,
279275 } ) ;
280276 }
0 commit comments