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

Test lib loading #3

Merged
merged 14 commits into from
Jun 21, 2024
Merged

Test lib loading #3

merged 14 commits into from
Jun 21, 2024

Conversation

sgouache
Copy link
Collaborator

No description provided.

@sgouache sgouache merged commit 3146a48 into fix_build Jun 21, 2024
8 checks passed
@sgouache sgouache deleted the test_lib_loading branch June 21, 2024 09:34
sgouache added a commit that referenced this pull request Jun 24, 2024
* Add helper class and test boilerplate

Must be considered a work in progress.

Added:
 - a helper class to handle the plugins that have a common interface
 - a test skeleton to check that the handle works

The build lacks automation for now. The required dlls to let the test work need to be copied where the test executable resides.
At the current state, the goal is to find an appropriate way to pass the path to the plugin dll to the test executable.

* Add: a SHARED build of the driver dll.
Update: replace dynamic library run-time loading with loading at executable's launch time for the test.

* Add compiler warnings flags

* Fix faulty code.

* Update constants and global variables' initialisation.

* Update driver connection.

Some options are left aside for now.

* Add connection test.

* Update file_exists.
Support for multifile should be automatically handled by the glob options of ListObjects.

* Add google authentication

* Fix typo

* Adding permissions

* Fix compilation issue

* Small test to check validity of credentials

* Enable output for easier debugging of tests

* Play around with cmake

* Add gtest dependency

* Try running tests in debug mode

* Try using windows-2022

* Try change build settings

* Ignore vcpkg files

* Try fix windows build

* Fix workflow

* Try fix windows compilation

* Try fix windows build

* Update gtest version

* Clean up

* Cleanup

* Cleanup

* Cleanup

* Fix files selection

* Fix upload

* Cleanup

* Test lib loading (#3)

* Add plugin load test

* Fix windows compilation

* Fix compilation on windows

* Add plugin load test

* Delay test discovery until test execution

* Fix windows

* Try debugging lib loading

* Fix typo

* Try loading dll with relative path

* Try debug library loading

* Fix typo

* Restore test discovery at build time

* Cleanup

* Fix typo

---------

Co-authored-by: Stephane Gouache <[email protected]>

* Solve realpath warning

---------

Co-authored-by: Cedric LE CAM <[email protected]>
Co-authored-by: Stephane Gouache <[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.

1 participant