Commit 18d2e381 authored by Millian Poquet's avatar Millian Poquet
Browse files

[test] new rejecter test

parent 62d4c606
......@@ -240,6 +240,12 @@ add_test(batexec
-bod /tmp/batsim_tests/batexec
-bwd ${CMAKE_SOURCE_DIR})
add_test(reject
${CMAKE_SOURCE_DIR}/tools/experiments/execute_instances.py
${CMAKE_SOURCE_DIR}/test/test_reject.yaml
-bod /tmp/batsim_tests/reject
-bwd ${CMAKE_SOURCE_DIR})
add_test(pfs0
${CMAKE_SOURCE_DIR}/tools/experiments/execute_instances.py
${CMAKE_SOURCE_DIR}/test/test_pfs0.yaml
......
Subproject commit f5de078c26cebd18d1d96d1ee130264696418a94
Subproject commit 2bafd17ab7725dce77466d588b87443d7670be61
# This script should be called from Batsim's root directory
# If needed, the working directory of this script can be specified within this file
#base_working_directory: ~/proj/batsim
# If needed, the output directory of this script can be specified within this file
base_output_directory: /tmp/batsim_tests/reject
base_variables:
batsim_dir: ${base_working_directory}
implicit_instances:
implicit:
sweep:
platform :
- {"name":"homo128", "filename":"${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml"}
workload :
- {"name":"tiny", "filename":"${batsim_dir}/workload_profiles/test_workload_profile.json"}
- {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
algo:
- {"name":"rejecter", "sched_name":"rejecter"}
generic_instance:
timeout: 10
working_directory: ${base_working_directory}
output_directory: ${base_output_directory}/results/${algo[name]}_${workload[name]}_${platform[name]}
batsim_command: batsim -p ${platform[filename]} -w ${workload[filename]} -e ${output_directory}/out --mmax-workload
sched_command: batsched -v ${algo[sched_name]}
commands_before_instances:
- ${batsim_dir}/test/is_batsim_dir.py ${base_working_directory}
- ${batsim_dir}/test/clean_output_dir.py ${base_output_directory}
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