Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-08 | Stream: don't open stream if headers aren't understood | Thomas White | |
This avoids e.g. crashing later if the geometry is bad. This commit also removes a problematic stanza from the geometry in test.stream, since the stream reading functions are now more fussy about this. | |||
2022-06-20 | tests/file-wait: Use older type of function definition | Thomas White | |
The definition with the "function" keyword doesn't work on plain 'sh'. | |||
2022-06-09 | Remove some unused variables | Thomas White | |
2022-06-02 | tests/stream_roundtrip: Clean up stream afterwards | Thomas White | |
2022-03-09 | Meson: enable building without HDF5 | Thomas White | |
2022-03-08 | Update merging tests to latest stream version | Thomas White | |
2022-03-08 | Add tests/stream_roundtrip | Thomas White | |
2022-03-02 | Add tests/indexamajig-missing-file | Thomas White | |
This checks that indexamajig correctly recognises when no files could be processed. | |||
2022-03-02 | Add tests/file-wait | Thomas White | |
This tests that indexamajig --wait-for-file works | |||
2021-10-28 | Make symmetry operation parser re-entrant | Thomas White | |
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/1 | |||
2021-10-20 | Add photon_energy to ev_enum test files | Thomas White | |
Also fixes newline at end of files | |||
2021-09-07 | ring_check: Fix data type for malloc size | Thomas White | |
2021-09-03 | Fix typo and failing tests from previous commit | Thomas White | |
2021-07-21 | Add missing cleanup on error paths | Thomas White | |
2021-03-22 | Allow HDF5 path substitution when there are too many placeholder values | Thomas White | |
This allows, for example, masks which have fewer % signs in their HDF5 locations than the main data. | |||
2021-01-06 | Use smaller profile radii in partialator tests | Thomas White | |
The radii are not used (the tests only check scaling), but must pass the newly-added check in partialator. | |||
2020-10-27 | Add a test for stream reading | Thomas White | |
2020-10-26 | cellcompare_check: Factorise code and reduce to 1 repetition of each | Thomas White | |
Otherwise it takes far too long. | |||
2020-10-26 | Remove polarisation_check | Thomas White | |
It takes far too long (over a minute) and didn't actually test anything. Contribution of a better polarisation unit test would be very welcome! | |||
2020-10-26 | Meson: Only build gpu_sim_check when OpenCL is available | Thomas White | |
See 8aff8c658925f0. Sometimes, the OpenCL headers are not available at all. | |||
2020-10-23 | tests/ev_enum{1,2,3}: Fix order of fs/ss in geometry | Thomas White | |
2020-09-10 | gpu_sim_check: Fix pixel ranges in geometry | Thomas White | |
Doesn't affect the test itself, but makes the output easier to read | |||
2020-09-10 | CMake: Use ${HDF5_C_LIBRARIES} instead of -lhdf5 | Thomas White | |
Fixes linking on Mac OS | |||
2020-08-10 | polarisation_check: Fit into timeout | Thomas White | |
However, this test doesn't actually test anything. A comparison against a reference image would be good. | |||
2020-08-05 | Restore HDF5 output in polarisation_check | Thomas White | |
2020-08-05 | Convert gpu_sim_check to DataTemplate | Thomas White | |
2020-07-29 | Port remaining tests to Meson | Thomas White | |
2020-07-29 | Expose a couple more functions for easier testing | Thomas White | |
2020-07-29 | Start converting tests to Meson | Thomas White | |
2020-07-29 | Remove curses dependency for integration_check and prof2d_check | Thomas White | |
These were a hack caused by badly testable API | |||
2020-07-29 | Add low-level integration API (for better testing) | Thomas White | |
2020-07-29 | Remove config.h from tests | Thomas White | |
This is a relic from autotools, where config.h might add function definitions. The tests shouldn't be behaving differently based on the configuration (though perhaps tests might be enabled or disabled by the build system). Also: which config.h should it be? The top-level one, or libcrystfel's? | |||
2020-07-29 | partialator/process_hkl: Use geometry | Thomas White | |
2020-07-29 | Add --no-image-data and --no-mask-data | Thomas White | |
2020-07-29 | Add wavelength and electron_voltage, plus units, to geometry file | Thomas White | |
2020-07-29 | Fix a typo | Thomas White | |
2020-07-29 | Remove unnecessary libraries | Thomas White | |
2020-07-29 | tests/ev_enum1: Use API function | Thomas White | |
2020-07-29 | Handle event expansion even for single-event files | Thomas White | |
2020-07-29 | Avoid compiling image-hdf5.c ten times | Thomas White | |
2020-07-29 | cellcompare_check: Reduce ntrials to 5 | Thomas White | |
Makes this test take 30 seconds instead of a minute | |||
2020-07-29 | prof2d_check: Decrease size of unit cell | Thomas White | |
It was taking multiple minutes to run, discouraging me from running the test suite at all. | |||
2020-07-29 | Implement dimension part of event expansion, and clean up tests | Thomas White | |
2020-07-29 | Path part of event expansion | Thomas White | |
2020-07-29 | Remove events.c, part 2 | Thomas White | |
New event parsing, done at the last minute in image-hdf5.c | |||
2020-07-29 | Convert prediction_gradient_check to detgeom | Thomas White | |
2020-07-29 | Update tests for detgeom | Thomas White | |
2020-07-29 | Convert prediction gradients to detgeom | Thomas White | |
2020-07-29 | Convert prediction and integration to detgeom | Thomas White | |
2020-07-29 | Add a couple of missing semicolons | Thomas White | |
Not previously noticed because ERROR and STATUS were macros |