8000 TST: Use ``meson`` for testing ``f2py`` by HaoZeke · Pull Request #25111 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TST: Use meson for testing f2py #25111

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

Merged
merged 26 commits into from
Nov 24, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8d04cbf
MAINT,TST: Use meson for compiler checks [f2py]
HaoZeke Nov 11, 2023
5a2fa25
MAINT: Cache the compiler checks [f2py]
HaoZeke Nov 11, 2023
1fdc2f8
MAINT,TST: Always use meson [f2py]
HaoZeke Nov 11, 2023
babda1d
TST: Rework to have a build_meson [f2py]
HaoZeke Nov 11, 2023
278890e
MAINT,TST: Simplify the meson backend [f2py]
HaoZeke Nov 11, 2023
2f1b5c8
TST: Use the build_meson function [f2py]
HaoZeke Nov 11, 2023
9f75919
MAINT,TST: Minor cleanup [f2py]
HaoZeke Nov 11, 2023
73edb6f
TST: Ensure TestDocAdvanced runs with spin [f2py]
HaoZeke Nov 11, 2023
51a760a
TST: Use cleanup meson backend [f2py]
HaoZeke Nov 12, 2023
4da19cf
MAINT,TST: Generalize build_meson [f2py]
HaoZeke Nov 12, 2023
6122eb7
TST: Use a helper for spin tests [f2py]
HaoZeke Nov 12, 2023
d678b61
MAINT: Simplify meson backend [f2py]
HaoZeke Nov 12, 2023
0397ee4
TST: Handle unsupported compilers [f2py]
HaoZeke Nov 12, 2023
74934a5
TST: Fix gibberish in [f2py] documentation test
HaoZeke Nov 12, 2023
4154877
CI: Add meson for cygwin runs 8000
HaoZeke Nov 12, 2023
fe5bf64
TST: Skips for 32-bit errors [f2py]
HaoZeke Nov 12, 2023
6cdecd0
TST: Skip for cygwin since meson is old [f2py]
HaoZeke Nov 12, 2023
dd6f221
CI: Revert grabbing meson on cygwin
HaoZeke Nov 12, 2023
ef17ab5
TST: Cleanup old distutils builder [f2py]
HaoZeke Nov 12, 2023
8d7ec08
TST: Skip cygwin better [f2py]
HaoZeke Nov 12, 2023
b0f418e
TST: Don't touch distutils
HaoZeke Nov 19, 2023
5bce3b4
MAINT: Vendor in distutils testing requirement
HaoZeke Nov 19, 2023
9fc2006
TST: Try removing cygwin restrictions
HaoZeke Nov 21, 2023
2ac2902
MAINT: Cleanup some tests [f2py]
HaoZeke Nov 23, 2023
63cbffb
TST: Try to use concurrency for i/o bounds [f2py]
HaoZeke Nov 23, 2023
64f4fd2
TST: Mark slow tests [f2py]
HaoZeke Nov 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000
Prev Previous commit
Next Next commit
TST: Use a helper for spin tests [f2py]
  • Loading branch information
HaoZeke committed Nov 23, 2023
commit 6122eb73c52f186ee3dd537bef5aa78ca46928fa
8 changes: 7 additions & 1 deletion numpy/f2py/tests/test_array_from_pyobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import copy
import platform
import pytest
from pathlib import Path

import numpy as np

Expand All @@ -19,6 +20,11 @@
)


def get_testdir():
testroot = Path(__file__).resolve().parent / "src"
return testroot / "array_from_pyobj"


def setup_module():
"""
Build the required testing extension module
Expand All @@ -32,7 +38,7 @@ def setup_module():

if wrap is None:
src = [
util.getpath("tests", "src", "array_from_pyobj", "wrapmodule.c"),
get_testdir() / "wrapmodule.c",
]
wrap = util.build_meson(src, module_name = "test_array_from_pyobj_ext")

Expand Down
0