Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive globbing unit test source files. #160

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

samcunliffe
Copy link
Member

No description provided.

Copy link
Collaborator

@willGraham01 willGraham01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recursive search works: the UNIT_TEST_SRC variable is populated with the filenames of everything in the tdms/tests/unit directory.

tdms/CMakeLists.txt Outdated Show resolved Hide resolved
Co-authored-by: Will Graham <[email protected]>
@samcunliffe samcunliffe merged commit 63459d5 into wgraham-more_array_tests Nov 2, 2022
@samcunliffe samcunliffe deleted the recursive-globbing branch November 2, 2022 16:56
willGraham01 added a commit that referenced this pull request Nov 16, 2022
* DispersiveMultLayer tests

* CMakeLists will now auto-find all array_tests files

* FrequencyVectors test, Vector class cleanup

* Recursive globbing unit test source files. (#160)

* Recursive globbing unit test source files.

* Specify test_*.cpp

Co-authored-by: Will Graham <[email protected]>

Co-authored-by: Will Graham <[email protected]>

* DTilde test

* IncidentField tests

* FieldSample tests

* Missed data validation check

* DetectorSensitivityArrays tests

* try executing DSA fftw_plan

* Reminder for me

* Apply suggestions from code review

Co-authored-by: Sam Cunliffe <[email protected]>

* Some SPDLOG cleanups, SECTION checks, etc

* Remove SPDLOG name-dump

Co-authored-by: Sam Cunliffe <[email protected]>
willGraham01 added a commit that referenced this pull request Nov 17, 2022
* DispersiveMultLayer tests

* CMakeLists will now auto-find all array_tests files

* FrequencyVectors test, Vector class cleanup

* Recursive globbing unit test source files. (#160)

* Recursive globbing unit test source files.

* Specify test_*.cpp

Co-authored-by: Will Graham <[email protected]>

Co-authored-by: Will Graham <[email protected]>

* DTilde test

* IncidentField tests

* FieldSample tests

* Missed data validation check

* DetectorSensitivityArrays tests

* try executing DSA fftw_plan

* Reminder for me

* tests for Vector class

* Tests for ComplexAmplitudeSample

* Avoid seg faults in Vector tests

* Unit tests for GratingStructure

* Tests for Pupil

* Unit tests for EHVec

* Unit tests for FrequencyExtractVector

* Compute number of elements correctly in FEV before displaying

* CCollection, also highlight logical flaw that might need addressing

* Clear SPDLOG clutter

* tests for Vector class

* Tests for ComplexAmplitudeSample

* Avoid seg faults in Vector tests

* Unit tests for GratingStructure

* Tests for Pupil

* Unit tests for EHVec

* Unit tests for FrequencyExtractVector

* Compute number of elements correctly in FEV before displaying

* CCollection, also highlight logical flaw that might need addressing

* Clear SPDLOG clutter

* CMaterial tests, prevent matlab casting seg-faults

* DMaterial test

* Apply suggestions from code review

Co-authored-by: Sam Cunliffe <[email protected]>

* Some SPDLOG cleanups, SECTION checks, etc

* Remove SPDLOG name-dump

* Cleanup SPDLOG junk

* Some test refactoring

* This doesn't seg fault

* XYZTensor redundancy

* SPDLOG junk

* Pupil test sectioning

* Pupil test case

* GratingStructure test case

* FrequencyExtractVector

* FrequencyComponentsVector

* Apply suggestions from code review

Will need to go through and check for consistency

Co-authored-by: Sam Cunliffe <[email protected]>

* Sam's review comments

* Sam's comments #2

Co-authored-by: Sam Cunliffe <[email protected]>
willGraham01 added a commit that referenced this pull request Nov 17, 2022
* DispersiveMultLayer tests

* CMakeLists will now auto-find all array_tests files

* FrequencyVectors test, Vector class cleanup

* Recursive globbing unit test source files. (#160)

* Recursive globbing unit test source files.

* Specify test_*.cpp

Co-authored-by: Will Graham <[email protected]>

Co-authored-by: Will Graham <[email protected]>

* DTilde test

* IncidentField tests

* FieldSample tests

* Missed data validation check

* DetectorSensitivityArrays tests

* try executing DSA fftw_plan

* Reminder for me

* tests for Vector class

* Tests for ComplexAmplitudeSample

* Avoid seg faults in Vector tests

* Unit tests for GratingStructure

* Tests for Pupil

* Unit tests for EHVec

* Unit tests for FrequencyExtractVector

* Compute number of elements correctly in FEV before displaying

* CCollection, also highlight logical flaw that might need addressing

* Clear SPDLOG clutter

* tests for Vector class

* Tests for ComplexAmplitudeSample

* Avoid seg faults in Vector tests

* Unit tests for GratingStructure

* Tests for Pupil

* Unit tests for EHVec

* Unit tests for FrequencyExtractVector

* Compute number of elements correctly in FEV before displaying

* CCollection, also highlight logical flaw that might need addressing

* Clear SPDLOG clutter

* CMaterial tests, prevent matlab casting seg-faults

* DMaterial test

* Move field tests to their own subdirectory

* Refactor existing tests into consistent structure

* Refactor common inline functions into unit_test_utils.h

* Trailing newline

* Apply suggestions from code review

Co-authored-by: Sam Cunliffe <[email protected]>

* Some SPDLOG cleanups, SECTION checks, etc

* Remove SPDLOG name-dump

* Cleanup SPDLOG junk

* Some test refactoring

* This doesn't seg fault

* XYZTensor redundancy

* SPDLOG junk

* Pupil test sectioning

* Pupil test case

* GratingStructure test case

* FrequencyExtractVector

* FrequencyComponentsVector

* normalise_volume docstring and unit test

* test_TDFieldExporter2D.cpp

* Virtual destructor fix

* Move field tests to their own subdirectory

* Refactor existing tests into consistent structure

* Refactor common inline functions into unit_test_utils.h

* Trailing newline

* normalise_volume docstring and unit test

* test_TDFieldExporter2D.cpp

* Virtual destructor fix

* Apply suggestions from code review

Will need to go through and check for consistency

Co-authored-by: Sam Cunliffe <[email protected]>

* Sam's review comments

* Sam's review no.1

* Sam's test utilities refactor

* array_tests use tdms_tests::TOLERANCE

Co-authored-by: Sam Cunliffe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants