Skip to content

Commit

Permalink
fix pythonpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Jan 14, 2025
1 parent 0fd4739 commit d64902f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/spec-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,16 @@ all-parallel() {
time $0 _all-parallel "$@"
}

src-tree-py() {
PYTHONPATH='.:vendor/' doctools/src_tree.py "$@"
}

all-tests-to-html() {
local manifest=$1
local output_base_dir=$2
# ignore attrs output
head -n $NUM_SPEC_TASKS $manifest \
| xargs --verbose -- doctools/src_tree.py spec-files $output_base_dir >/dev/null
| xargs --verbose -- $0 src-tree-py spec-files $output_base_dir >/dev/null

#| xargs -n 1 -P $MAX_PROCS -- $0 test-to-html $output_base_dir
log "done: all-tests-to-html"
Expand Down

0 comments on commit d64902f

Please sign in to comment.