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 suite updates #595

Merged
merged 5 commits into from
Feb 6, 2025
Merged

Test suite updates #595

merged 5 commits into from
Feb 6, 2025

Conversation

achaikou
Copy link
Contributor

@achaikou achaikou commented Feb 5, 2025

No description provided.

segyio-shared target was removed and exchanged with segyio target in
af2059a
These script are intended to be run as tests, but there is no visible
information whether scripts were actually executed.

Wrapping them up in print statements gives us confidence that scripts
were run from start to finish.
There is no plan to do anything with matlab bindings (we are not sure if
we won't drop them whatsoever), but it would be useful to know if we
accidentally break something in the future.

Github actions allow us to use matlab.
While originally intended way of running tests with ctests doesn't work
for some reason (probably due to matlab setup in github actions), we
still can run scripts there directly as commands.
6e84e4d changed the way tests were written, but doing so dropped
separation between c.segy and c++ tests.

By bringing it back we remove duplicated test runs (reducing cases run
in test entities 1-4 from 101 to 81, by 20 tests that belong to the c++
group and are not affected by mmap/lsb distinction).

Note that c++ code is built and tests are run regardless of the
"experimental" build option. That option impacts installation only.
Copy link
Contributor

@yngve793 yngve793 left a comment

Choose a reason for hiding this comment

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

It is nice to have more of the code tested automatically.
Code looks fine, GitHub tests looks fine.
Found no way to run tests locally.

@achaikou achaikou merged commit 19e0864 into equinor:master Feb 6, 2025
18 checks passed
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