summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-01-17 19:59:48 +0100
committerGitHub <noreply@github.com>2023-01-17 10:59:48 -0800
commit74901a3d0db7de5d94b6f14e7c8eb87832ac589e (patch)
tree863407c922a9102f4d4312b78dae4e124a54de01 /var
parent10d5f14c852823e36c06d82cbc0b62218e8c8606 (diff)
downloadspack-74901a3d0db7de5d94b6f14e7c8eb87832ac589e.tar.gz
spack-74901a3d0db7de5d94b6f14e7c8eb87832ac589e.tar.bz2
spack-74901a3d0db7de5d94b6f14e7c8eb87832ac589e.tar.xz
spack-74901a3d0db7de5d94b6f14e7c8eb87832ac589e.zip
Forward lookup of "test_log_file" and "test_failures" (#34882)
* Forward lookup of "test_log_file" and "test_failures" refers #34531 closes #34487 fixes #34440 * Add unit test * py-libensemble: fix tests * Support stand-alone tests with cached files as install-time tests Co-authored-by: Tamara Dahlgren <dahlgren1@llnl.gov>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-libensemble/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-libensemble/package.py b/var/spack/repos/builtin/packages/py-libensemble/package.py
index 99b62e087d..c2f2cbb92f 100644
--- a/var/spack/repos/builtin/packages/py-libensemble/package.py
+++ b/var/spack/repos/builtin/packages/py-libensemble/package.py
@@ -80,7 +80,7 @@ class PyLibensemble(PythonPackage):
)
if not os.path.isfile(join_path(test_dir, exe)):
- print("Skipping {0} test".format(exe))
+ print("SKIPPED: {0} test does not exist".format(exe))
return
self.run_test(
@@ -91,4 +91,6 @@ class PyLibensemble(PythonPackage):
)
def test(self):
- self.run_tutorial_tests("test_uniform_sampling.py")
+ super(__class__, self).test()
+ for tutorial in ["test_uniform_sampling.py", "test_1d_sampling.py"]:
+ self.run_tutorial_tests(tutorial)