Skip to content

Commit

Permalink
Compile and run gluon tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Dec 9, 2018
1 parent af5df17 commit a748a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ fn main_() -> Result<(), Error> {

let iter = test_files("tests/pass")?.into_iter();

let pool = futures_cpupool::CpuPool::new(1);
let pool = futures_cpupool::CpuPool::new_num_cpus();
let mut runtime = tokio::runtime::Runtime::new()?;
let pass_tests_future = stream::futures_ordered(
iter.filter_map(|filename| {
Expand Down

0 comments on commit a748a67

Please sign in to comment.