diff --git a/Tests/Examples/CMakeLists.txt b/Tests/Examples/CMakeLists.txt index 83b7b26510d42288cbb9caa7ff1fe66d923b0558..9854e49d01d3b38ab3e90f3dad223a01de7dd409 100644 --- a/Tests/Examples/CMakeLists.txt +++ b/Tests/Examples/CMakeLists.txt @@ -141,19 +141,19 @@ run_plotless(fit/scatter2d/lmfit_with_plotting) run_plotless(fit/scatter2d/minimizer_settings) run_plotless(fit/scatter2d/multiple_datasets) -run_plotless(fit/specular/Honeycomb_fit) +if (Python3_VERSION_MINOR GREATER 8) + run_plotless(fit/specular/Honeycomb_fit) + run_plotless(fit/specular/Pt_layer_fit) +endif() run_plotless(fit/specular/PolarizedSpinAsymmetryFit) -run_plotless(fit/specular/Pt_layer_fit) run_plotless(fit/specular/TREFF_Ni_film) run_example(fit/specular/Specular1Par) run_example(fq/Sphere) test_example(offspec/Offspec1 2e-10) -if (Python3_VERSION_MINOR GREATER 8) - test_example(offspec/OffspecLambda 2e-10) # issue #711 - test_example(offspec/OffspecResolved 2e-10) # issue #711 -endif() +test_example(offspec/OffspecLambda 2e-10) # issue #711 +test_example(offspec/OffspecResolved 2e-10) # issue #711 test_example(scatter2d/ApproximationDA 2e-10) test_example(scatter2d/ApproximationLMA 2e-10)