GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Unverified Commit fb32c522 authored by teor's avatar teor
Browse files

Log tor warnings during 'make test-network-all'

Requires the chutney changes from 21572.
(Otherwise, asks users to upgrade their chutney.)

Implements 21570.
parent 39a4c562
......@@ -54,6 +54,7 @@ TEST_CFLAGS=
TEST_NETWORK_FLAGS=--hs-multi-client 1
TEST_NETWORK_WARNING_FLAGS=--quiet --only-warnings
TEST_CFLAGS += -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-div
......@@ -135,6 +136,10 @@ test-network-all: need-chutney-path test-driver $(TESTING_TOR_BINARY) src/tools/
done; \
for f in $$flavors; do \
$(SHELL) $(top_srcdir)/test-driver --test-name $$f --log-file $(TEST_NETWORK_ALL_LOG_DIR)/$$f.log --trs-file $(TEST_NETWORK_ALL_LOG_DIR)/$$f.trs $(TEST_NETWORK_ALL_DRIVER_FLAGS) $(top_srcdir)/src/test/ --flavor $$f $(TEST_NETWORK_FLAGS); \
$(top_srcdir)/src/test/ $(TEST_NETWORK_WARNING_FLAGS); \
if test $$? -eq 2 ; then \
echo "Please update your chutney using 'git pull' to see tor warnings here."; \
fi; \
done; \
echo "Log and result files are available in $(TEST_NETWORK_ALL_LOG_DIR)."; \
! grep -q FAIL test_network_log/*.trs
o Minor features (testing):
- During 'make test-network-all', if tor logs any warnings, ask chutney
to output them. Requires a recent version of chutney with the 21572
Implements 21570.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment