adding option to run tests in debugger
authorVolker Birk <vb@pep.foundation>
Fri, 15 Jun 2018 21:57:25 +0200
changeset 2750ce57ed3d1f52
parent 2749 147e3b5d461f
child 2751 66c8218f81e8
adding option to run tests in debugger
Makefile.conf
test/Makefile
     1.1 --- a/Makefile.conf	Fri Jun 15 20:32:23 2018 +0200
     1.2 +++ b/Makefile.conf	Fri Jun 15 21:57:25 2018 +0200
     1.3 @@ -115,3 +115,6 @@
     1.4  # Example:
     1.5  #    EXTRA_MACROS=-DDEFAULT_KEYSERVER=\"default-server.org\" -DCRASHDUMP_DEFAULT_LINES=23
     1.6  #EXTRA_MACROS=
     1.7 +
     1.8 +# add this for running tests in debugger
     1.9 +#TEST_DEBUGGER=lldb --batch -o r
     2.1 --- a/test/Makefile	Fri Jun 15 20:32:23 2018 +0200
     2.2 +++ b/test/Makefile	Fri Jun 15 21:57:25 2018 +0200
     2.3 @@ -100,7 +100,7 @@
     2.4  test_home_: 
     2.5  	
     2.6  
     2.7 -.PHONY: test_home_
     2.8 +.PHONY: scripts
     2.9  scripts: 
    2.10  ifdef PY_ENV
    2.11  	$(PY_ENV) genscripts.py
    2.12 @@ -108,7 +108,7 @@
    2.13  
    2.14  .PHONY: test
    2.15  test: all
    2.16 -	./$(TARGET)
    2.17 +	$(TEST_DEBUGGER) ./$(TARGET)
    2.18  	
    2.19  .PHONY: clean
    2.20  clean: