From b57741936cbfeeabaa81868938b437d9627b4c26 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 7 Nov 2024 10:43:09 -0800 Subject: [PATCH] remove noise --- tests/tests.rs | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/tests/tests.rs b/tests/tests.rs index de77547c..eebabefb 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -331,18 +331,6 @@ fn test_file(name: &'static str, filename: &'static str) { // Run tests in deduplication priority order. C++ compatibility tests are run first, // otherwise we would lose the C++ compiler run if they were deduplicated. let mut cbindgen_outputs = HashSet::new(); - - run_compile_test( - name, - test, - tmp_dir, - Language::Cxx, - /* cpp_compat = */ false, - None, - &mut HashSet::new(), - false, - ); - for cpp_compat in &[true, false] { for style in &[Style::Type, Style::Tag, Style::Both] { run_compile_test( @@ -358,6 +346,17 @@ fn test_file(name: &'static str, filename: &'static str) { } } + run_compile_test( + name, + test, + tmp_dir, + Language::Cxx, + /* cpp_compat = */ false, + None, + &mut HashSet::new(), + false, + ); + // `Style::Both` should be identical to `Style::Tag` for Cython. let mut cbindgen_outputs = HashSet::new(); for style in &[Style::Type, Style::Tag] {