From c37dee671998d1dc8b30705c646dfb71e76cb7d5 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Fri, 16 Feb 2024 21:44:26 +0000 Subject: [PATCH] config skip vkfft test for 20.04 --- .github/workflows/test.yaml | 2 +- python/iqtlabs/qa_vkfft.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0b038162..da74ee97 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -48,4 +48,4 @@ jobs: fetch-depth: 0 - name: build_test run: | - sudo apt-get -y update && sudo add-apt-repository ppa:gnuradio/gnuradio-releases && bin/apt_get.sh && bin/install-volk.sh v3.1.0 && bin/build_test.sh && bin/test_grc310.sh + sudo apt-get -y update && sudo add-apt-repository ppa:gnuradio/gnuradio-releases && bin/apt_get.sh && bin/install-volk.sh v3.1.0 && TEST_VKFFT=0 bin/build_test.sh && bin/test_grc310.sh diff --git a/python/iqtlabs/qa_vkfft.py b/python/iqtlabs/qa_vkfft.py index c88a4d69..8f98124d 100755 --- a/python/iqtlabs/qa_vkfft.py +++ b/python/iqtlabs/qa_vkfft.py @@ -269,10 +269,9 @@ def run_comparison(self, vkfft_block, short): ) ) - if os.getenv("TEST_VKFFT", 0): - self.assertEqual( - self.round_complex(vkfft_data), self.round_complex(sw_data) - ) + self.assertEqual( + self.round_complex(vkfft_data), self.round_complex(sw_data) + ) def test_vkfft(self): self.run_comparison(iqtlabs.vkfft, False) @@ -282,4 +281,5 @@ def test_short_vkfft(self): if __name__ == "__main__": - gr_unittest.run(qa_vkfft) + if os.getenv("TEST_VKFFT", 0): + gr_unittest.run(qa_vkfft)