Skip to content
Snippets Groups Projects
Commit f748ee8a authored by jgatt's avatar jgatt
Browse files

check deprecated option test error

parent faf4bfc4
Branches
Tags
1 merge request!20merge requested multibehavor_mono_multi_core
Pipeline #6017 passed
...@@ -146,3 +146,14 @@ def test_error_intersection_red_yellow(platform_multiC): ...@@ -146,3 +146,14 @@ def test_error_intersection_red_yellow(platform_multiC):
make_error_file(3, red_windows=intersecting_windows[j % 2], yellow_windows=intersecting_windows[j // 2],probas=probas) make_error_file(3, red_windows=intersecting_windows[j % 2], yellow_windows=intersecting_windows[j // 2],probas=probas)
error_user(f"dm_user_multi_behavior_intersecting_red_yellow_{i}_{j}", platform_multiC, error_user(f"dm_user_multi_behavior_intersecting_red_yellow_{i}_{j}", platform_multiC,
"at least one common element in their interval") "at least one common element in their interval")
def test_deprecated_option(platform_multiC):
invalid_probas = [ [("yellow_prob_reconfig", 1.0)], [("yellow_prob_degrad", 1.0)], [("yellow_prob_rigid", 1.0)],
[("red_prob_reconfig", 1.0)], [("red_prob_degrad", 1.0)], [("red_prob_rigid", 1.0)],[("red_prob_see_you_later",1.0)],
[("red_prob_renonce",1.0)]]
i = 0
for probas in invalid_probas:
make_error_file(3, yellow_windows=[[0, 1]], probas=probas)
out_dir = error_user("dm_user_multi_behavior_deprecated_yellow_prob_" + str(i), platform_multiC, "deprecated option")
i += 1
return
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment