diff --git a/Tests/Functional/Python/PyCore/polmagcylinders2.py b/Tests/Functional/Python/PyCore/polmagcylinders2.py index c1dbb2006d5b2c4af1b4db17440f58239cec0e94..029bdf3c9bbd7e174677e2dc1d55c2dc18106090 100644 --- a/Tests/Functional/Python/PyCore/polmagcylinders2.py +++ b/Tests/Functional/Python/PyCore/polmagcylinders2.py @@ -14,6 +14,7 @@ REFERENCE_DIR = "@TEST_REFERENCE_DIR@/Core" # describe sample and run simulation # ---------------------------------- def getSimulationIntensity(rho_beam, efficiency): + print("- simulate", flush=True) # defining materials mAmbience = HomogeneousMaterial("Air", 0.0, 0.0) mSubstrate = HomogeneousMaterial("Substrate", 15e-6, 0.0) @@ -48,6 +49,7 @@ def getSimulationIntensity(rho_beam, efficiency): simulation.setSample(multi_layer) simulation.setBeamIntensity(1e9) simulation.runSimulation() + print("- - simulation done", flush=True) return simulation.result() @@ -56,12 +58,17 @@ def get_reference_data(filename): """ read and return reference data from file """ - return IntensityDataIOFactory.readIntensityData(os.path.join(REFERENCE_DIR,filename)) + path = os.path.join(REFERENCE_DIR,filename) + print("- read reference from", path, flush=True) + ret = IntensityDataIOFactory.readIntensityData(path) + print("- - reference read", flush=True) + return ret # -------------------------------------------------------------- # run test and analyse test results # -------------------------------------------------------------- def run_test(): + print("run test", flush=True) zplus = kvector_t(0.0, 0.0, 1.0) zmin = kvector_t(0.0, 0.0, -1.0)