diff --git a/test/deprecated/CMakeLists.txt b/test/deprecated/CMakeLists.txt index ffaf747a547d0..920dbc24c8d24 100644 --- a/test/deprecated/CMakeLists.txt +++ b/test/deprecated/CMakeLists.txt @@ -158,10 +158,6 @@ if(WITH_TESTING) add_subdirectory(distributed_passes) endif() - if(NOT WIN32 OR NOT WITH_GPU) - add_subdirectory(fft) - endif() - endif() set_pir_tests_properties() diff --git a/test/deprecated/fft/CMakeLists.txt b/test/deprecated/fft/CMakeLists.txt deleted file mode 100644 index a31ec8e1f2137..0000000000000 --- a/test/deprecated/fft/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -file( - GLOB TEST_OPS - RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" - "test_*.py") -string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}") - -foreach(TEST_OP ${TEST_OPS}) - py_test_modules(${TEST_OP} MODULES ${TEST_OP}) -endforeach() - -set_pir_tests_properties() diff --git a/test/deprecated/fft/test_spectral_op.py b/test/fft/test_spectral_op.py similarity index 99% rename from test/deprecated/fft/test_spectral_op.py rename to test/fft/test_spectral_op.py index 2596fb13eab1c..94168193f468d 100644 --- a/test/deprecated/fft/test_spectral_op.py +++ b/test/fft/test_spectral_op.py @@ -14,6 +14,7 @@ import re import sys +import unittest import numpy as np from op_test import OpTest @@ -311,3 +312,7 @@ def test_check_grad(self): ["X"], "Out", ) + + +if __name__ == "__main__": + unittest.main()