After building CPython from source, I run the regression test suite, using make test (I'm on Linux). Now I would run only some tests, and pass a custom option (-R :)
I tried TESTOPTS="test_pickle" make test without success. I had to do: ./python -u -bb -E -Wd -m test -r --fail-env-changed -w -j 0 test_pickle This works, but I would specify only custom options. PS: -R option finds reference leaks (python -m test --help explains it) -- https://mail.python.org/mailman/listinfo/python-list