kopia lustrzana https://github.com/bristol-seds/pico-tracker
Added optional gdb info for tests
rodzic
b7d51b7f62
commit
68aca94548
|
@ -251,7 +251,11 @@ TESTCASES := $(shell $(FIND) test/tc -name '*.[h]')
|
|||
test: test/main.py all
|
||||
@echo "Running tests..."
|
||||
@echo $(tc) > test/.testcommand
|
||||
ifdef tc-gdb-info
|
||||
$(DB) -q -x test/tests.py
|
||||
else
|
||||
@>/dev/null $(DB) -q -x test/tests.py
|
||||
endif
|
||||
|
||||
# Ctypesgen for test
|
||||
test/main.py: test/tmain.c $(TESTCASES)
|
||||
|
|
|
@ -31,7 +31,11 @@ to run all tests, or
|
|||
make test tc=<tc name>
|
||||
```
|
||||
|
||||
to run a specific test case
|
||||
to run a specific test case. To get extra debug info
|
||||
|
||||
```
|
||||
make test tc=<tc name> tc-gdb-info=1
|
||||
```
|
||||
|
||||
#### Operation
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue