Skip to content

Commit

Permalink
Enable pcodec tests with miri
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
LDeakin committed Mar 21, 2024
1 parent 89e20c9 commit 1fda31e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/array/codec/array_to_bytes/pcodec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_u32() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -253,7 +252,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_u64() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -264,7 +262,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_i32() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -275,7 +272,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_i64() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -286,7 +282,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_f32() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -297,7 +292,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_f64() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -308,7 +302,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_complex64() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -319,7 +312,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_round_trip_complex128() {
codec_pcodec_round_trip_impl(
&PcodecCodec::new_with_configuration(&serde_json::from_str(JSON_VALID).unwrap()),
Expand All @@ -340,7 +332,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)]
fn codec_pcodec_partial_decode() {
let chunk_shape: ChunkShape = vec![4, 4].try_into().unwrap();
let chunk_representation = ChunkRepresentation::new(
Expand Down Expand Up @@ -383,7 +374,6 @@ mod tests {

#[cfg(feature = "async")]
#[tokio::test]
#[cfg_attr(miri, ignore)]
async fn codec_pcodec_async_partial_decode() {
let chunk_shape: ChunkShape = vec![4, 4].try_into().unwrap();
let chunk_representation = ChunkRepresentation::new(
Expand Down

0 comments on commit 1fda31e

Please sign in to comment.