Move runtests.py to unittests folder

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@66320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2010-12-04 00:28:47 +00:00
parent a16f7ef06b
commit a938e6a76f

View File

@@ -1,7 +1,18 @@
import sys
import os
# make sure our development dir is on the path
if os.path.dirname(__file__):
phoenixDir = os.path.abspath(os.path.dirname(__file__)+'/..')
else: # run as main?
d = os.path.dirname(sys.argv[0])
if not d: d = '.'
phoenixDir = os.path.abspath(d+'/..')
#if phoenixDir not in sys.path:
sys.path.insert(0, phoenixDir)
# stuff for debugging
import os
import wxPhoenix as wx
print "pid:", os.getpid()
#print "executable:", sys.executable; raw_input("Press Enter...")