File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1010from easybuild .easyblocks .generic .cmakemake import CMakeMake
1111from easybuild .easyblocks .openblas import EB_OpenBLAS
1212from easybuild .framework .easyconfig import CUSTOM
13- from easybuild .tools .filetools import apply_regex_substitutions , read_file
13+ from easybuild .tools .filetools import apply_regex_substitutions
14+ from easybuild .tools .run import run_shell_cmd
1415from easybuild .tools .systemtools import get_shared_lib_ext
1516
1617
@@ -76,8 +77,9 @@ def test_step(self):
7677
7778 # check number of failing LAPACK tests more closely
7879 if self .cfg ['run_lapack_tests' ]:
79- logfile = os .path .join (self .separate_build_dir , 'Testing/Temporary/LastTest.log' )
80- EB_OpenBLAS .check_lapack_test_results (self , read_file (logfile ))
80+ netlib_dir = os .path .join (self .cfg ['start_dir' ], 'netlib-test/libflame_netlib' )
81+ res = run_shell_cmd (f"cd { netlib_dir } && ./lapack_testing.py -s" )
82+ EB_OpenBLAS .check_lapack_test_results (self , res .output )
8183
8284 def sanity_check_step (self ):
8385 """ Custom sanity check for AOCL-LAPACK """
You can’t perform that action at this time.
0 commit comments