Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 71f954db authored by Millian Poquet's avatar Millian Poquet
Browse files

[test] redis: config file -> CLI option

parent 4a25ae53
...@@ -40,27 +40,16 @@ foreach(simu_instance IN LISTS simu_instances) ...@@ -40,27 +40,16 @@ foreach(simu_instance IN LISTS simu_instances)
# Some variables # Some variables
set(thistest_NAME "redis-${workload_name}-${platform_name}-${algo_name}") set(thistest_NAME "redis-${workload_name}-${platform_name}-${algo_name}")
set(thistest_OUTPUT_DIR "${test_output_dir}/${thistest_NAME}") set(thistest_OUTPUT_DIR "${test_output_dir}/${thistest_NAME}")
set(thistest_BATSIM_CONFIG_FILE "${thistest_OUTPUT_DIR}/batconf.json")
# Generate batsched input file # Generate batsched input file
file(MAKE_DIRECTORY ${thistest_OUTPUT_DIR}) file(MAKE_DIRECTORY ${thistest_OUTPUT_DIR})
file(WRITE ${thistest_BATSIM_CONFIG_FILE}
"{\n\
\"redis\": {\n\
\"enabled\": true\n\
},\n\
\"job_submission\": {\n\
\"forward_profiles\": false\n\
}\n\
}"
)
# Create the test # Create the test
add_test_robintest_batsched(NAME ${thistest_NAME} add_test_robintest_batsched(NAME ${thistest_NAME}
PLATFORM ${platform_filename} PLATFORM ${platform_filename}
WORKLOAD ${workload_filename} WORKLOAD ${workload_filename}
ALGORITHM ${algo_realname} ALGORITHM ${algo_realname}
OTH_BATSIM_ARGS "--config-file ${thistest_BATSIM_CONFIG_FILE}" OTH_BATSIM_ARGS "--enable-redis"
OTH_BATSCHED_ARGS "" OTH_BATSCHED_ARGS ""
ROBINTEST_EXPECTATION "--expect-ctx-clean --expect-ctx-clean-at-begin --expect-ctx-clean-at-end --expect-robin-success --expect-sched-success --expect-batsim-success" ROBINTEST_EXPECTATION "--expect-ctx-clean --expect-ctx-clean-at-begin --expect-ctx-clean-at-end --expect-robin-success --expect-sched-success --expect-batsim-success"
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment