Skip to content

Commit

Permalink
WIP: try to dump logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Aug 23, 2023
1 parent 443c495 commit 2cc6e63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,11 @@ jobs:

- run: make

- run: make test
- run: make test BTESTS=-j1
env:
RUBY_DEBUG_LOG: /tmp/log
RUBY_DEBUG_LOG_FILTER=pthread
RUBY_ON_BUG='cat /tmp/log '

- run: make install
if: ${{ matrix.entry.check }}
Expand Down
2 changes: 1 addition & 1 deletion vm_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void ruby_set_debug_option(const char *str);
RUBY_SYMBOL_EXPORT_END

#ifndef USE_RUBY_DEBUG_LOG
#define USE_RUBY_DEBUG_LOG 0
#define USE_RUBY_DEBUG_LOG 1
#endif

/* RUBY_DEBUG_LOG: Logging debug information mechanism
Expand Down

0 comments on commit 2cc6e63

Please sign in to comment.