File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -249,14 +249,16 @@ prog2:
249249
250250```
251251
252+ ### Single test configuration
253+
252254You can also configure environment for ** single test case** !
253255Just put ` xyz.config.yaml ` file next to your input file ` xyz.in ` .
254256
255257All options of config file for single test are listed below:
256258
257259``` yaml
258260
259- totest_sh :
261+ prog2 :
260262 args : %input_file_name some additional args
261263 in : override_input_file.in
262264
Original file line number Diff line number Diff line change 11prog2 :
22 command : echo THIS IS OVERRIDEN
3- args : INPUT %input_file_name
3+ args : INPUT %input_file_name
4+ testing_script_out : ignore
Original file line number Diff line number Diff line change @@ -898,7 +898,7 @@ function load_single_test_configuration_file {
898898 # Load global config
899899 load_prop_variable " ${global_config_prefix} " " command" " param_prog"
900900 load_prop_variable " ${global_config_prefix} " " args" " input_prog_flag_acc"
901- load_prop_variable " ${global_config_prefix} " " in " " input_file_path"
901+ load_prop_variable " ${global_config_prefix} " " input " " input_file_path"
902902
903903 load_prop_variable_arr " ${global_config_prefix} " " pipes_out_" " flag_pipe_output"
904904 load_prop_variable_arr " ${global_config_prefix} " " pipes_out_err_" " flag_pipe_err_output"
@@ -931,7 +931,16 @@ function load_single_test_configuration_file {
931931 load_prop_variable " " " param_prog" " param_prog_call_name" " false"
932932 load_prop_variable " ${config_prefix} " " command" " param_prog"
933933
934- load_prop_variable " ${config_prefix} " " in" " input_file_path"
934+
935+ load_prop_variable " ${config_prefix} " " input" " input_file_path"
936+
937+ load_prop_variable " ${config_prefix} " " good_output" " flag_good_out_path" " false"
938+ load_prop_variable " ${config_prefix} " " good_err" " flag_good_err_path" " false"
939+
940+ load_prop_variable " ${config_prefix} " " need_error_files" " flag_always_need_good_err" " false"
941+
942+ load_prop_variable " ${config_prefix} " " testing_script_out" " flag_test_out_script"
943+ load_prop_variable " ${config_prefix} " " testing_script_err" " flag_test_err_script"
935944
936945
937946 # printf "elelele\n"
You can’t perform that action at this time.
0 commit comments