From a30f28edad0244c855e9f4b52250efe4e28bc039 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 6 Apr 2015 16:02:04 -0700 Subject: rustdoc: Add a test for fixed issue #15347 Closes #15347 --- src/compiletest/runtest.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiletest') diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 301ce2b6f14..9d040fc8594 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -1175,6 +1175,7 @@ fn document(config: &Config, props: &TestProps, out_dir.to_str().unwrap().to_string(), testfile.to_str().unwrap().to_string()]; args.extend(extra_args.iter().cloned()); + args.extend(split_maybe_args(&props.compile_flags).into_iter()); let args = ProcArgs { prog: config.rustdoc_path.to_str().unwrap().to_string(), args: args, -- cgit 1.4.1-3-g733a5