ignore 'normal' functions when running i386 tests

This commit is contained in:
Folkert 2022-01-25 22:09:12 +01:00
parent 7e38309364
commit 490bbf3812

View File

@ -421,9 +421,11 @@ mod cli_run {
macro_rules! benchmarks { macro_rules! benchmarks {
($($test_name:ident => $benchmark:expr,)+) => { ($($test_name:ident => $benchmark:expr,)+) => {
$( $(
#[test] #[test]
#[cfg_attr(not(debug_assertions), serial(benchmark))] #[cfg_attr(not(debug_assertions), serial(benchmark))]
#[cfg(all(not(feature = "wasm32-cli-run"), not(feature = "i386-cli-run")))]
fn $test_name() { fn $test_name() {
let benchmark = $benchmark; let benchmark = $benchmark;
let file_name = examples_dir("benchmarks").join(benchmark.filename); let file_name = examples_dir("benchmarks").join(benchmark.filename);