Skip to content

Commit

Permalink
[tests] Add gdb & lldb to Makefile.boilerplate to be accessible in al…
Browse files Browse the repository at this point in the history
…l tests
  • Loading branch information
thoni56 committed Jun 9, 2024
1 parent b8d6647 commit 36289d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions tests/Makefile.boilerplate
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ coverage:
@echo "Doing coverage in this directory only"
$(MAKE) $(TEST)
cd ../../src ; make COVERAGE_CASE=$(TEST) the-actual-coverage-report

gdb:
gdb $(CXREF) -ex 'br main' -ex 'run $(ARGUMENTS)'

lldb:
lldb -o 'breakpoint set --name main' -o 'process launch -- $(ARGUMENTS)' $(CXREF)
6 changes: 0 additions & 6 deletions tests/test_delete_no_parameter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ trace: $(TEST)

clean:
@-rm -rf CXrefs output.log output.tmp output log .c-xrefrc

gdb:
gdb $(CXREF) -ex 'br main' -ex 'run $(ARGUMENTS)'

lldb:
lldb -o 'breakpoint set --name main' -o 'process launch -- $(ARGUMENTS)' $(CXREF)

0 comments on commit 36289d8

Please sign in to comment.