Skip to content

Commit

Permalink
Verbose debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RafikFarhad committed Nov 12, 2023
1 parent f6517fc commit 5de7ed2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/entrypoint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@ jobs:
INPUT_STYLE: "LLVM"
run: |
./entrypoint.sh | tee output || true
echo "Ran entrypoint.sh -> $?"
grep -q "Checking file: ./examples/file1.c" output; ret=$? || true
echo "grep 1 -> $ret -> $?"
if [ $ret -ne 0 ]; then
echo "file1.c should be checked"
exit 8
fi
echo "file1.c is checked $?"
grep -q "Checking file: ./examples/file2.c" output; ret=$? || true
echo "grep 2 -> $ret -> $?"
if [ $ret -eq 0 ]; then
echo "file2.c should not be checked"
exit 9
fi
echo "file2.c is checked $?"
echo "Basic command works"

0 comments on commit 5de7ed2

Please sign in to comment.