We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab70936 commit 5dfb9ceCopy full SHA for 5dfb9ce
1 file changed
tools/ci/circle
@@ -265,17 +265,13 @@ run_tests() {
265
local log_file
266
local path
267
local slug
268
- local dir
269
270
echo 'Running tests...' >&2
271
for test in $(echo "$1"); do
272
echo "Running test: ${test}" >&2
273
274
- # Extract the test directory:
275
- dir=$(dirname ${test})
276
-
277
- # Remove the base source code directory path from the test directory path (using POSIX shell variable expansion):
278
- path="${dir#${base_dir}/}"
+ # Remove the base source code directory path from the test path (using POSIX shell variable expansion):
+ path="${test#${base_dir}/}"
279
280
# Slugify the path (basic algorithm):
281
slug="$(echo ${path} | sed -e 's/[^[:alnum:]]/_/g' | tr -s '-' | tr A-Z a-z)"
0 commit comments