Very rough additions to get baseport building after the header reorganisation. Original hardcoded systeminclude paths still left in.
# This should be equivalent to running regrtest.py from the cmdline.
# It can be especially handy if you're in an interactive shell, e.g.,
# from test import autotest.
from test import regrtest
regrtest.main()