[tor-commits] [tor/maint-0.4.0] test: Change "make test-stem" so it only runs the stem tests that use tor
teor at torproject.org
teor at torproject.org
Thu Sep 5 04:49:20 UTC 2019
commit 664d1b436651aca81579a06cde8437ae8f15484f
Author: teor <teor at torproject.org>
Date: Thu Aug 29 21:56:16 2019 +1000
test: Change "make test-stem" so it only runs the stem tests that use tor
This change makes test-stem faster and more reliable.
Use "make test-stem-full" to run all of stem's tests.
Closes ticket 31554.
---
Makefile.am | 2 +-
changes/ticket31554 | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index b268180c5..5d18666ed 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -275,7 +275,7 @@ need-stem-path:
fi
test-stem: need-stem-path $(TESTING_TOR_BINARY)
- @$(PYTHON) "$$STEM_SOURCE_DIR"/run_tests.py --tor "$(TESTING_TOR_BINARY)" --integ --log notice --target RUN_ALL;
+ @$(PYTHON) "$$STEM_SOURCE_DIR"/run_tests.py --tor "$(TESTING_TOR_BINARY)" --integ --test control.controller --test control.base_controller --test process --log notice;
test-stem-full: need-stem-path $(TESTING_TOR_BINARY)
@$(PYTHON) "$$STEM_SOURCE_DIR"/run_tests.py --tor "$(TESTING_TOR_BINARY)" --all --log notice --target RUN_ALL,ONLINE -v;
diff --git a/changes/ticket31554 b/changes/ticket31554
new file mode 100644
index 000000000..73f4159ff
--- /dev/null
+++ b/changes/ticket31554
@@ -0,0 +1,4 @@
+ o Minor features (stem tests):
+ - Change "make test-stem" so it only runs the stem tests that use tor.
+ This change makes test-stem faster and more reliable.
+ Closes ticket 31554.
More information about the tor-commits
mailing list