Cleanup regrtest "main()" function

* Rename libregrtest.main_in_temp_cwd() to libregrtest.main()
* Add regrtest.main_in_temp_cwd() alias to libregrtest.main()
* Move old main_in_temp_cwd() code into libregrtest.Regrtest.main()
* Update multiple scripts to call libregrtest.main()
This commit is contained in:
Victor Stinner 2016-03-24 17:53:20 +01:00
parent 8c08e0db8f
commit 3aac0adfe0
7 changed files with 38 additions and 36 deletions

View file

@ -1,6 +1,5 @@
# 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()
from test.libregrtest import main
main()