Fix the test runner script to work on mixed case names.
This commit is contained in:
parent
0ca6ce504f
commit
76c6908707
@ -13,9 +13,9 @@ function get_test_names {
|
|||||||
test_file_full_path=$(readlink -f "$test_file")
|
test_file_full_path=$(readlink -f "$test_file")
|
||||||
relative_to_samples=$(realpath --relative-to "$samples_dir" "$test_file_full_path")
|
relative_to_samples=$(realpath --relative-to "$samples_dir" "$test_file_full_path")
|
||||||
without_extension="${relative_to_samples%.org}"
|
without_extension="${relative_to_samples%.org}"
|
||||||
echo "${without_extension/\//_}"
|
echo "${without_extension/\//_}" | tr '[:upper:]' '[:lower:]'
|
||||||
else
|
else
|
||||||
echo "$test_file"
|
echo "$test_file" | tr '[:upper:]' '[:lower:]'
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user