Skip to content

Commit 3074688

Browse files
ndokosldoktor
andauthored
Avoid verify_common_bench_script_options in linpack pre-check (#2929) (#2930)
The verify_common_bench_script_options fails when tools are not configured locally, which is usually the case of remote --pre-check-only Signed-off-by: Lukáš Doktor <[email protected]> Co-authored-by: Lukáš Doktor <[email protected]>
1 parent 1c92421 commit 3074688

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agent/bench-scripts/pbench-linpack

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ while true; do
118118
;;
119119
esac
120120
done
121-
verify_common_bench_script_options ${tool_group} ${sysinfo}
122121

123122
function pre_check {
124123
# Invoke the linpack driver to perform a pre-check that it will be able to
@@ -139,6 +138,8 @@ if [[ ${pre_check_only} -ne 0 ]]; then
139138
exit ${?}
140139
fi
141140

141+
verify_common_bench_script_options ${tool_group} ${sysinfo}
142+
142143
linpack_ver="$(pbench-config version ${benchmark})"
143144
if [[ -z "${linpack_ver}" ]]; then
144145
error_log "${script_name}: package version is missing in config file"

0 commit comments

Comments
 (0)