test: create temp dir in common.js
For tests run outside the python harness (for example to see console.error() messages for debugging), common.js should create the testing temp directory if it does not exist.
ref: #1876 (closed)
This change does not seem to result in a significant performance hit as far as I can tell, but I welcome better benchmarks than my "run time make test-parallel
" methodology.