diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-03-26 18:25:29 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-03-26 18:25:29 +0000 |
| commit | 2395020c4aa511e2dc1e0dbd0dcb03073b809591 (patch) | |
| tree | 911d022b344863ac46226c2fa4cd034a70aad485 /tests/enigma.py | |
| parent | 190bff9a042beabcb620605e3883191bd749859f (diff) | |
| download | enigma2-2395020c4aa511e2dc1e0dbd0dcb03073b809591.tar.gz enigma2-2395020c4aa511e2dc1e0dbd0dcb03073b809591.zip | |
speed up things a bit by disabling sleeptimer
Diffstat (limited to 'tests/enigma.py')
| -rw-r--r-- | tests/enigma.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/enigma.py b/tests/enigma.py index c1f3bf6d..11c5b233 100644 --- a/tests/enigma.py +++ b/tests/enigma.py @@ -25,8 +25,10 @@ class eTimer: def __init__(self): self.timeout = slot() self.next_activation = None + print "NEW TIMER" def start(self, msec, singleshot = False): + print "start timer", msec self.next_activation = time.time() + msec / 1000.0 self.msec = msec self.singleshot = singleshot @@ -49,6 +51,8 @@ def runIteration(): assert len(running_timers), "no running timers, so nothing will ever happen!" running_timers.sort(key=lambda x: x.next_activation) + print "running:", running_timers + next_timer = running_timers[0] now = time.time() @@ -127,6 +131,9 @@ class pNavigation: def playService(self, service): return None + def __repr__(self): + return "pNavigation" + eRCInput = None getPrevAsciiCode = None @@ -276,7 +283,9 @@ eServiceCenter() ##################### ENIGMA CHROOT +print "import directories" import Tools.Directories +print "done" chroot="." @@ -288,7 +297,9 @@ Tools.Directories.defaultPaths[Tools.Directories.SCOPE_CONFIG] = ("/etc/enigma2/ ##################### ENIGMA CONFIG +print "import config" import Components.config +print "done" my_config = [ "config.skin.primary_skin=None\n" @@ -306,14 +317,17 @@ class eActionMap: ##################### ENIGMA STARTUP: def init_nav(): + print "init nav" import Navigation, NavigationInstance NavigationInstance.instance = Navigation.Navigation() def init_record_config(): + print "init recording" import Components.RecordingConfig Components.RecordingConfig.InitRecordingConfig() def init_parental_control(): + print "init parental" from Components.ParentalControl import InitParentalControl InitParentalControl() |
