Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenad committed Jul 20, 2024
1 parent 9f38066 commit 2deac8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ ENV PATH=$PATH:/opt/test-runner/bin/scarb/bin
WORKDIR /opt/test-runner
COPY . .
# Initialize a scarb cache
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]
ENTRYPOINT ["/opt/test-runner/bin/run.sh"]
2 changes: 1 addition & 1 deletion bin/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for test_dir in "${tmp_dir}"/*; do
jq --arg msg "$sorted_message" '.message = $msg' "$file" >"$tmp_file" && mv "$tmp_file" "$file"
done

echo "${test_dir_name}: comparing results.json to expected_results.json"
echo "$test_dir_name: comparing $(basename "${results_file_path}") to $(basename "${expected_results_file_path}")"

if ! diff "$results_file_path" "$expected_results_file_path"; then
exit_code=1
Expand Down
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ else
jq -n --arg output "${sanitized_test_output}" --arg status "${status}" '{version: 1, status: $status, message: $output}' >"${results_file}"
fi

echo "${slug}: generated $results_file"
echo "$slug: generated $results_file"

0 comments on commit 2deac8c

Please sign in to comment.