From 66924513f48824c3ceed23b275f9ee1a3fb02d1d Mon Sep 17 00:00:00 2001 From: "Andrew D. Zonenberg" Date: Thu, 29 Aug 2024 21:15:23 -0700 Subject: [PATCH] Moved ffts.h inside APPLE_SILICON ifdef guard to prevent false test failures on macos --- tests/Filters/Filter_DeEmbed.cpp | 3 ++- tests/Filters/Filter_FFT.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Filters/Filter_DeEmbed.cpp b/tests/Filters/Filter_DeEmbed.cpp index a83b06adb..8694a9a40 100644 --- a/tests/Filters/Filter_DeEmbed.cpp +++ b/tests/Filters/Filter_DeEmbed.cpp @@ -43,9 +43,10 @@ #include "../../lib/scopeprotocols/scopeprotocols.h" #include "Filters.h" +#include + //TODO: switch to FFTW since test case is OK to be GPL #ifndef _APPLE_SILICON -#include using namespace std; diff --git a/tests/Filters/Filter_FFT.cpp b/tests/Filters/Filter_FFT.cpp index 2020ba5a3..d3f27f915 100644 --- a/tests/Filters/Filter_FFT.cpp +++ b/tests/Filters/Filter_FFT.cpp @@ -42,10 +42,10 @@ #include "../../lib/scopehal/TestWaveformSource.h" #include "../../lib/scopeprotocols/scopeprotocols.h" #include "Filters.h" -#include //TODO: switch to FFTW since test case is OK to be GPL #ifndef _APPLE_SILICON +#include using namespace std;