bohrium: don't create python module (#50342)

This commit is contained in:
Harmen Stoppels 2025-05-07 16:23:34 +02:00 committed by GitHub
parent 21d8c09c5e
commit 12a7e8d73a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ def check_install(self):
]
# Compile C++ test program
file_cxxadd = join_path(os.path.dirname(self.module.__file__), "cxxadd.cpp")
file_cxxadd = join_path(os.path.dirname(__file__), "cxxadd.cpp")
cxx("-o", "test_cxxadd", file_cxxadd, *cxx_flags)
test_cxxadd = Executable("./test_cxxadd")
@ -267,6 +267,6 @@ def check_install(self):
# Python test (if +python)
if spec.satisfies("+python"):
file_pyadd = join_path(os.path.dirname(self.module.__file__), "pyadd.py")
file_pyadd = join_path(os.path.dirname(__file__), "pyadd.test")
py_output = python(file_pyadd, output=str, env=test_env)
compare_output(py_output, "Success!\n")