SHA256
1
0
forked from pool/slurm

Accepting request 989256 from home:eeich:branches:network:cluster

- Improve check for mpicc in testsuite package: if binary isn't
  found, don't crash.

OBS-URL: https://build.opensuse.org/request/show/989256
OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=210
This commit is contained in:
Egbert Eich 2022-07-15 07:13:32 +00:00 committed by Git OBS Bridge
parent 167150eca6
commit 69890cab1e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 14 15:20:46 UTC 2022 - Egbert Eich <eich@suse.com>
- Improve check for mpicc in testsuite package: if binary isn't
found, don't crash.
-------------------------------------------------------------------
Mon Jun 20 09:23:17 UTC 2022 - Christian Goll <cgoll@suse.com>

View File

@ -864,7 +864,9 @@ cat > %{buildroot}/srv/slurm-testsuite/testsuite/expect/globals.local <<EOF
set slurm_dir "/usr"
set build_dir "/srv/slurm-testsuite"
set src_dir "/srv/slurm-testsuite"
set mpicc [ exec which mpicc ]
if {[ catch { set mpicc [ exec which mpicc 2>/dev/null ]}]} {
set mpicc ""
}
set testsuite_user "auser"
#set testsuite_cleanup_on_failure false
EOF