Commit 99e331c8 authored by Alexandre Bône's avatar Alexandre Bône

Restores all functional tests. The 4th longitudinal atlas hippocampi

functional test is still quite unprecise. It also seems that there is
not CUDA available on the CI machines.
parent 6c61e74a
Pipeline #56826727 failed with stages
in 14 minutes and 28 seconds
......@@ -11,17 +11,17 @@ class LongitudinalAtlasHippocampi(FunctionalTest):
Methods with names starting by "test" will be run.
"""
# def test_configuration_1(self):
# self.run_configuration(os.path.abspath(__file__), 'output__1', 'output_saved__1',
# 'model__1.xml', 'data_set.xml', 'optimization_parameters__1.xml')
#
# def test_configuration_2(self):
# self.run_configuration(os.path.abspath(__file__), 'output__2', 'output_saved__2',
# 'model__2.xml', 'data_set.xml', 'optimization_parameters__2.xml')
#
# def test_configuration_3(self):
# self.run_configuration(os.path.abspath(__file__), 'output__3', 'output_saved__3',
# 'model__3.xml', 'data_set.xml', 'optimization_parameters__3.xml')
def test_configuration_1(self):
self.run_configuration(os.path.abspath(__file__), 'output__1', 'output_saved__1',
'model__1.xml', 'data_set.xml', 'optimization_parameters__1.xml')
def test_configuration_2(self):
self.run_configuration(os.path.abspath(__file__), 'output__2', 'output_saved__2',
'model__2.xml', 'data_set.xml', 'optimization_parameters__2.xml')
def test_configuration_3(self):
self.run_configuration(os.path.abspath(__file__), 'output__3', 'output_saved__3',
'model__3.xml', 'data_set.xml', 'optimization_parameters__3.xml')
@unittest.skipIf(not torch.cuda.is_available(), 'This test should be run with CUDA.')
@unittest.skipIf(platform in ['darwin'], 'This test should only run on linux.')
......
......@@ -31,7 +31,7 @@ TEST_MODULES = [AtlasSkulls, AtlasBrainStructures, AtlasDigits,
PrincipalGeodesicAnalysisDigits,
LongitudinalAtlasStarmen, LongitudinalAtlasHippocampi, LongitudinalAtlasDigits]
TEST_MODULES = [LongitudinalAtlasHippocampi]
# TEST_MODULES = [LongitudinalAtlasHippocampi]
def setup_conda_env():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment