Ignore:
Timestamp:
Jun 27, 2008 9:12:12 PM (16 years ago)
Author:
nanang
Message:

Ticket #543:

  • added options to run.py
  • passing options in runall.py to run.py
  • removing userdata in module callback functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/test-pjsua/mod_pres.py

    r2070 r2078  
    44import sys 
    55import inc_const as const 
     6from inc_cfg import * 
    67 
    78# Load configuration 
    8 cfg_file = imp.load_source("cfg_file", sys.argv[2]) 
     9cfg_file = imp.load_source("cfg_file", ARGS[1]) 
    910 
    1011 
    1112# Test body function 
    12 def test_func(t, user_data): 
     13def test_func(t): 
    1314        u1 = t.process[0] 
    1415        uri1 = cfg_file.test_param.inst_params[0].uri 
Note: See TracChangeset for help on using the changeset viewer.