Skip to content

Commit

Permalink
Improve error check grep
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 7, 2024
1 parent 4aa3a66 commit a28f59d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
just --list --unstable --justfile "$fname"
done
- name: Look for tests that contain errors
run: "! grep -r -E '(ERROR|MISSING|UNEXPECTED)' test"
run: "! grep -nr -C4 -E '(ERROR|MISSING|UNEXPECTED)' test"
2 changes: 1 addition & 1 deletion src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#error "expected assertions to be enabled"
#endif

// #define DEBUG_PRINT
#define DEBUG_PRINT
#ifdef DEBUG_PRINT
#define dbg_print(...) \
do { \
Expand Down

0 comments on commit a28f59d

Please sign in to comment.