Skip to content

Commit ab6e889

Browse files
committed
[PLUTO-1411] debug
1 parent d84a072 commit ab6e889

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run-tool-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ cd "$TOOL_DIR"
3636
# Handle both path formats: with and without extra codacy-cli-v2
3737
sed -i 's|file:///home/runner/work/codacy-cli-v2/|file:///|g' actual.sarif
3838

39+
# Debug information
40+
echo "Current directory: $(pwd)"
41+
echo "Looking for expected.sarif in: $TEST_DIR/expected.sarif"
42+
ls -la "$TEST_DIR/expected.sarif" || echo "File not found or not accessible"
43+
3944
# Sort all fields in both files, handling null rules array
4045
jq --sort-keys 'if .runs[0].tool.driver.rules == null then . else .runs[0].tool.driver.rules |= sort_by(.id) end' "$TEST_DIR/expected.sarif" > expected.sorted.json
4146
jq --sort-keys 'if .runs[0].tool.driver.rules == null then . else .runs[0].tool.driver.rules |= sort_by(.id) end' actual.sarif > actual.sorted.json

0 commit comments

Comments
 (0)