mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
make test-network-all exit 1 if any test network fails
This commit is contained in:
parent
5feae32f46
commit
60c6debda8
@ -118,8 +118,9 @@ test-network-all: need-chutney-path all test-driver
|
|||||||
done; \
|
done; \
|
||||||
for f in $$flavors; do \
|
for f in $$flavors; do \
|
||||||
./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/test-network.sh --flavor $$f $(TEST_NETWORK_FLAGS); \
|
./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/test-network.sh --flavor $$f $(TEST_NETWORK_FLAGS); \
|
||||||
done
|
done; \
|
||||||
@echo "Log and result files are available in $(TEST_NETWORK_ALL_LOG_DIR)."
|
echo "Log and result files are available in $(TEST_NETWORK_ALL_LOG_DIR)."; \
|
||||||
|
! grep -q FAIL test_network_log/*.trs
|
||||||
|
|
||||||
need-stem-path:
|
need-stem-path:
|
||||||
@if test ! -d "$$STEM_SOURCE_DIR"; then \
|
@if test ! -d "$$STEM_SOURCE_DIR"; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user