aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-09-08Stream: don't open stream if headers aren't understoodThomas 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-20tests/file-wait: Use older type of function definitionThomas White
The definition with the "function" keyword doesn't work on plain 'sh'.
2022-06-09Remove some unused variablesThomas White
2022-06-02tests/stream_roundtrip: Clean up stream afterwardsThomas White
2022-03-09Meson: enable building without HDF5Thomas White
2022-03-08Update merging tests to latest stream versionThomas White
2022-03-08Add tests/stream_roundtripThomas White
2022-03-02Add tests/indexamajig-missing-fileThomas White
This checks that indexamajig correctly recognises when no files could be processed.
2022-03-02Add tests/file-waitThomas White
This tests that indexamajig --wait-for-file works
2021-10-28Make symmetry operation parser re-entrantThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/1
2021-10-20Add photon_energy to ev_enum test filesThomas White
Also fixes newline at end of files
2021-09-07ring_check: Fix data type for malloc sizeThomas White
2021-09-03Fix typo and failing tests from previous commitThomas White
2021-07-21Add missing cleanup on error pathsThomas White
2021-03-22Allow HDF5 path substitution when there are too many placeholder valuesThomas White
This allows, for example, masks which have fewer % signs in their HDF5 locations than the main data.
2021-01-06Use smaller profile radii in partialator testsThomas White
The radii are not used (the tests only check scaling), but must pass the newly-added check in partialator.
2020-10-27Add a test for stream readingThomas White
2020-10-26cellcompare_check: Factorise code and reduce to 1 repetition of eachThomas White
Otherwise it takes far too long.
2020-10-26Remove polarisation_checkThomas 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-26Meson: Only build gpu_sim_check when OpenCL is availableThomas White
See 8aff8c658925f0. Sometimes, the OpenCL headers are not available at all.
2020-10-23tests/ev_enum{1,2,3}: Fix order of fs/ss in geometryThomas White
2020-09-10gpu_sim_check: Fix pixel ranges in geometryThomas White
Doesn't affect the test itself, but makes the output easier to read
2020-09-10CMake: Use ${HDF5_C_LIBRARIES} instead of -lhdf5Thomas White
Fixes linking on Mac OS
2020-08-10polarisation_check: Fit into timeoutThomas White
However, this test doesn't actually test anything. A comparison against a reference image would be good.
2020-08-05Restore HDF5 output in polarisation_checkThomas White
2020-08-05Convert gpu_sim_check to DataTemplateThomas White
2020-07-29Port remaining tests to MesonThomas White
2020-07-29Expose a couple more functions for easier testingThomas White
2020-07-29Start converting tests to MesonThomas White
2020-07-29Remove curses dependency for integration_check and prof2d_checkThomas White
These were a hack caused by badly testable API
2020-07-29Add low-level integration API (for better testing)Thomas White
2020-07-29Remove config.h from testsThomas 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-29partialator/process_hkl: Use geometryThomas White
2020-07-29Add --no-image-data and --no-mask-dataThomas White
2020-07-29Add wavelength and electron_voltage, plus units, to geometry fileThomas White
2020-07-29Fix a typoThomas White
2020-07-29Remove unnecessary librariesThomas White
2020-07-29tests/ev_enum1: Use API functionThomas White
2020-07-29Handle event expansion even for single-event filesThomas White
2020-07-29Avoid compiling image-hdf5.c ten timesThomas White
2020-07-29cellcompare_check: Reduce ntrials to 5Thomas White
Makes this test take 30 seconds instead of a minute
2020-07-29prof2d_check: Decrease size of unit cellThomas White
It was taking multiple minutes to run, discouraging me from running the test suite at all.
2020-07-29Implement dimension part of event expansion, and clean up testsThomas White
2020-07-29Path part of event expansionThomas White
2020-07-29Remove events.c, part 2Thomas White
New event parsing, done at the last minute in image-hdf5.c
2020-07-29Convert prediction_gradient_check to detgeomThomas White
2020-07-29Update tests for detgeomThomas White
2020-07-29Convert prediction gradients to detgeomThomas White
2020-07-29Convert prediction and integration to detgeomThomas White
2020-07-29Add a couple of missing semicolonsThomas White
Not previously noticed because ERROR and STATUS were macros