mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
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:
@@ -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...")
|
||||
Reference in New Issue
Block a user