mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
practracker: Add unit tests to test script, and test script to makefile
This makes all of the practracker tests get run by make check, and hence by our CI. Closes ticket 31304.
This commit is contained in:
@@ -29,6 +29,10 @@ run_practracker() {
|
||||
"${DATA}/" "$@";
|
||||
}
|
||||
|
||||
echo "unit tests:"
|
||||
|
||||
"${PYTHON:-python}" "${PRACTRACKER_DIR}/practracker_tests.py" || exit 1
|
||||
|
||||
echo "ex0:"
|
||||
|
||||
run_practracker --exceptions "${DATA}/ex0.txt" > "${TMPDIR}/ex0-received.txt"
|
||||
|
||||
Reference in New Issue
Block a user