mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
ignore 'normal' functions when running i386 tests
This commit is contained in:
parent
7e38309364
commit
490bbf3812
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user