Skip to content

Commit

Permalink
chore(#153, tree_index): disable tests on non-x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
wvwwvwwv committed Aug 3, 2024
1 parent 156420e commit 58953c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/correctness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ mod hashcache_test {
}
}

#[cfg(not(target_arch = "x86_64"))] // Issue #153.
#[cfg(target_arch = "x86_64")] // Issue #153.
#[cfg(test)]
mod treeindex_test {
use crate::ebr::Guard;
Expand Down
1 change: 1 addition & 0 deletions src/tree_index/internal_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,7 @@ impl<K, V> Default for StructuralChange<K, V> {
}
}

#[cfg(target_arch = "x86_64")] // Issue #153.
#[cfg(test)]
mod test {
use super::*;
Expand Down
1 change: 1 addition & 0 deletions src/tree_index/leaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ impl<'l, K, V> Iterator for Scanner<'l, K, V> {
}
}

#[cfg(target_arch = "x86_64")] // Issue #153.
#[cfg(test)]
mod test {
use super::*;
Expand Down
1 change: 1 addition & 0 deletions src/tree_index/leaf_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@ impl<K, V> Default for StructuralChange<K, V> {
}
}

#[cfg(target_arch = "x86_64")] // Issue #153.
#[cfg(test)]
mod test {
use super::*;
Expand Down

0 comments on commit 58953c3

Please sign in to comment.