Skip to content

add missing examples to tests#320

Closed
Rykath wants to merge 2 commits into
jameskermode:masterfrom
gvec-group:examples
Closed

add missing examples to tests#320
Rykath wants to merge 2 commits into
jameskermode:masterfrom
gvec-group:examples

Conversation

@Rykath

@Rykath Rykath commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

As discussed in #308, some of the examples are not tested. I.e. they are not included in CmakeLists.txt & Makefile. This PR sorts and adds all available examples into the list.


Newly added tests:

  • callback_print_function_issue93 - undefined symbol: pyfunc_print_
  • default_i8 - Segmentation fault
  • derived-type-aliases
  • derivedtypes_procedure
  • errorbinding
  • f2py_string_input - No rule to make target 'Makefile.meson'
  • fixed_1D_derived_type_array_argument
  • issue261_array_shapes - No rule to make target 'Makefile.meson'
  • issue299_directc_nested_functions - No rule to make target 'Makefile.meson'
  • issue301_complex_types - No rule to make target 'Makefile.meson'
  • issue302_pointer_warning - No rule to make target 'Makefile.meson'
  • issue41_abstract_classes - AttributeError: 'myclass_t' object has no attribute 'get_value'
  • keyword_renaming_issue160
  • name_collision
  • recursive_type - Error: Derived type ‘node’ at (1) has not been declared
  • recursive_type_array
  • signature_vs_backend
  • subroutine_args

quip_regression was not added to the tests as it has it's own workflow.

@Rykath

Rykath commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

So some examples seem to be actually broken and need to be looked into. A number of them also don't have meson scripts, but work when called with make.

I assume the quip_regression shouldn't be part of these lists, as it has its own workflow?

@jameskermode

Copy link
Copy Markdown
Owner

Thanks for doing this! Indeed, quip-regression can be left out as it has its own separate CI workflow as it's quite big and slow

'quip_regression' left out as it has it's own workflow
krystophny added a commit to itpplasma/f90wrap that referenced this pull request Dec 15, 2025
The errorbinding example was added to the test suite in PR jameskermode#320 but was
missing the required tests.py and tests_pkg.py files, causing CI to fail.
@krystophny

Copy link
Copy Markdown
Contributor

Fixed in stacked PRs starting with #322

krystophny added a commit to itpplasma/f90wrap that referenced this pull request Dec 16, 2025
The errorbinding example was added to the test suite in PR jameskermode#320 but was
missing the required tests.py and tests_pkg.py files, causing CI to fail.
@jameskermode

Copy link
Copy Markdown
Owner

I believe this PR can be closed in favour of the others from @krystophny, is that correct?

krystophny added a commit to itpplasma/f90wrap that referenced this pull request Dec 18, 2025
The errorbinding example was added to the test suite in PR jameskermode#320 but was
missing the required tests.py and tests_pkg.py files, causing CI to fail.
@krystophny

Copy link
Copy Markdown
Contributor

I believe this PR can be closed in favour of the others from @krystophny, is that correct?

I think so, I activated all examples in the subsequent PRs with fixes

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.

3 participants