test: Unit tests for overload onionskin ntor
[tor.git] / scripts / codegen / run_trunnel.sh
blob645b3c21586bf8523d2e5824fa7ba0d2ee3043c4
1 #!/bin/sh
3 if test "x$TRUNNEL_PATH" != "x"; then
4 PYTHONPATH="${TRUNNEL_PATH}:${PYTHONPATH}"
5 export PYTHONPATH
6 fi
8 OPTIONS="--require-version=1.5.1"
10 # Get all .trunnel files recursively from that directory so we can support
11 # multiple sub-directories.
12 find ./src/trunnel/ -name '*.trunnel' -exec python -m trunnel ${OPTIONS} {} \;
14 python -m trunnel ${OPTIONS} --write-c-files --target-dir=./src/ext/trunnel/