From 385a6f3c1cdc52a68badaf9dd60e359ed3a781ea Mon Sep 17 00:00:00 2001 From: Kiyoshi Masui Date: Fri, 27 Sep 2024 09:43:55 -0400 Subject: [PATCH] Added instruction set details to unit test report. --- tests/conftest.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..8aec1d5 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,10 @@ +import pytest +import bitshuffle + +def pytest_report_header(config): + sse2 = bitshuffle.using_SSE2() + avx2 = bitshuffle.using_AVX2() + avx512 = bitshuffle.using_AVX512() + neon = bitshuffle.using_NEON() + return f"SSE2 {sse2}; AVX2 {avx2}; AVX512 {avx512}; NEON {neon}" +