bohrium: don't create python module (#50342)
This commit is contained in:
parent
21d8c09c5e
commit
12a7e8d73a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user