diff --git a/tests/executable.rs b/tests/executable.rs index 2748cfb995..9dd71e8dd1 100644 --- a/tests/executable.rs +++ b/tests/executable.rs @@ -143,6 +143,16 @@ fn check_file(tempdir: &TempDir, rest: &str) { /* Keep tests alphabetized */ +#[test] +fn bad_chatter_1() { + if env::var("RUNNING_COVERAGE").is_ok() { + return; + } + + let output = run_tectonic(&PathBuf::from("."), &["-", "--chatter=reticent"]); + error_or_panic(output); +} + #[test] fn bad_input_path_1() { if env::var("RUNNING_COVERAGE").is_ok() { @@ -163,6 +173,16 @@ fn bad_input_path_2() { error_or_panic(output); } +#[test] +fn bad_outfmt_1() { + if env::var("RUNNING_COVERAGE").is_ok() { + return; + } + + let output = run_tectonic(&PathBuf::from("."), &["-", "--outfmt=dd"]); + error_or_panic(output); +} + #[test] fn help_flag() { if env::var("RUNNING_COVERAGE").is_ok() {