8000 TST: Add one for gh-26623 · numpy/numpy@a48ce39 · GitHub
[go: up one dir, main page]

Skip to content

Commit a48ce39

Browse files
HaoZekemathomp4
andcommitted
TST: Add one for gh-26623
On creating incorrect meson.build files Co-authored-by: mathomp4 <mathomp4@users.noreply.github.com>
1 parent b22ca2b commit a48ce39

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

numpy/f2py/tests/test_regression.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,14 @@ def test_gh26148b(self):
108108
res=self.module.testsub(x1, x2)
109109
assert(res[0] == 8)
110110
assert(res[1] == 15)
111+
112+
def test_gh26623():
113+
# Including libraries with . should not generate an incorrect meson.build
114+
try:
115+
aa = util.build_module(
116+
[util.getpath("tests", "src", "regression", "f90continuation.f90")],
117+
["-lfoo.bar"],
118+
module_name="Blah",
119+
)
120+
except RuntimeError as rerr:
121+
assert "lparen got assign" not in str(rerr)

0 commit comments

Comments
 (0)
0