Skip to content
Snippets Groups Projects
Commit 6365a8b7 authored by Albert Gil's avatar Albert Gil
Browse files

Testsuite - Improve test1.12 skipping if GPUs are not accounted

Bug 16119
parent 744c4504
No related branches found
No related tags found
No related merge requests found
......@@ -206,8 +206,8 @@ testproc test_overlap_memory
run_following_testprocs
# Only if gres/gpu is configured
if {[set_nodes_and_threads_by_request "--gres=gpu:1"]} {
skip_following_testprocs "Testproc needs to be able to submit a job with --gres=gpu:1."
if {[set_nodes_and_threads_by_request "--gres=gpu:1"] || ![param_contains [get_config_param "AccountingStorageTRES"] "*gpu"]} {
skip_following_testprocs "Testproc needs to be able to submit a job with --gres=gpu:1 and AccountingStorageTRES with GPUs."
}
testproc test_overlap_gpus
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment