]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test: Change "make test-stem" so it only runs the stem tests that use tor
authorteor <teor@torproject.org>
Thu, 29 Aug 2019 11:56:16 +0000 (21:56 +1000)
committerteor <teor@torproject.org>
Thu, 29 Aug 2019 11:56:16 +0000 (21:56 +1000)
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
changes/ticket31554 [new file with mode: 0644]

index b268180c5b53d5d5ee72edf8bd2dcdeea2303d49..5d18666edca17f016a77a517d43f8d8d53b7c805 100644 (file)
@@ -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 (file)
index 0000000..73f4159
--- /dev/null
@@ -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.