adios2: fix smoke test (#49199)
This commit is contained in:
parent
2aab567782
commit
64ba324b4a
@ -395,6 +395,7 @@ def test_examples(self):
|
||||
# Create the build tree within this spec's test stage dir so it gets
|
||||
# cleaned up automatically
|
||||
build_dir = tempfile.mkdtemp(dir=test_stage_dir)
|
||||
cmake = Executable(spec["cmake"].prefix.bin.cmake)
|
||||
|
||||
std_cmake_args = []
|
||||
|
||||
@ -409,7 +410,7 @@ def test_examples(self):
|
||||
self, "test_examples_build", purpose="build example against installed adios2"
|
||||
):
|
||||
cmake(src_dir, *std_cmake_args)
|
||||
make()
|
||||
cmake(*(["--build", "."]))
|
||||
|
||||
for p in built_programs:
|
||||
exe = which(join_path(".", p))
|
||||
|
Loading…
Reference in New Issue
Block a user