|
@ -16,8 +16,8 @@ for json_file in "$json_directory"/*.json; do |
|
|
# Check if there are matching files |
|
|
# Check if there are matching files |
|
|
if [ -e "$json_file" ]; then |
|
|
if [ -e "$json_file" ]; then |
|
|
# Execute the program with the JSON file as parameters |
|
|
# Execute the program with the JSON file as parameters |
|
|
bn=$(basename $json_file) |
|
|
|
|
|
name="${bn%.*}" |
|
|
|
|
|
|
|
|
bn=$(basename $json_file) |
|
|
|
|
|
name="${bn%.*}" |
|
|
echo "running test ${name} ..." |
|
|
echo "running test ${name} ..." |
|
|
"$program_location" "$json_file" "${output_dir}/${name}.json" |
|
|
"$program_location" "$json_file" "${output_dir}/${name}.json" |
|
|
fi |
|
|
fi |
|
|