- Timestamp:
- Aug 25, 2010 12:51:29 PM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/build/cc-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjlib-util/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjlib/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjlib/include/pj/compat/m_auto.h.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjlib/include/pj/compat/os_auto.h.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjmedia/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjmedia/include/pjmedia-codec/config_auto.h.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjmedia/include/pjmedia/config_auto.h.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjsip/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/pjsip/include/pjsip/sip_autoconf.h.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/tests/automated/run_continuous.py
r3291 r3295 8 8 INTERVAL = 300 9 9 DELAY = 0 10 CMDLINE = "" 10 11 11 def run_scenarios(scenarios, group): 12 # Run each scenario 13 rc = 0 14 for scenario in scenarios: 15 argv = [] 16 argv.append("ccdash.py") 17 argv.append("scenario") 18 argv.append(scenario) 19 argv.append("--group") 20 argv.append(group) 21 thisrc = ccdash.main(argv) 22 if rc==0 and thisrc: 23 rc = thisrc 24 return rc 12 def run_cmdline(group): 13 cmdline = CMDLINE + " --group " + group 14 return os.system(cmdline) 25 15 26 16 … … 29 19 30 20 Usage: 31 run_continuous.py [options] scenario1.xml [scenario2.xml ...] 21 run_continuous.py [options] "cmdline" 22 23 where: 24 cmdline is command to be executed to perform the test. Typically, this is 25 a script that calls configure.py and run_scenario.py for each scenario to 26 be performed. See perform_test.sh.sample and perform_test.bat.sample for 27 sample scripts. Note that the cmdline will be called with added group 28 argument (e.g. --group Nightly). 32 29 33 30 options: … … 47 44 usage() 48 45 49 # Splice list 50 scenarios = [] 46 # Check args 51 47 i = 1 52 48 while i < len(sys.argv): … … 59 55 print "Delay is set to %f minute(s)" % (DELAY / 60) 60 56 else: 61 # Check if scenario exists 62 scenario = sys.argv[i] 63 if not os.path.exists(scenario): 64 print "Error: file " + scenario + " does not exist" 57 if CMDLINE: 58 print "Error: cmdline already specified" 65 59 sys.exit(1) 66 scenarios.append(scenario) 67 print "Scenario %s added" % (scenario) 60 CMDLINE = sys.argv[i] 68 61 i = i + 1 69 62 70 if len(scenarios) < 1:71 print "Error: scenario is required"63 if not CMDLINE: 64 print "Error: cmdline is needed" 72 65 sys.exit(1) 73 66 … … 100 93 print "Will run %s after %f s.." % (group, DELAY) 101 94 time.sleep(DELAY) 102 rc = run_ scenarios(scenarios,group)95 rc = run_cmdline(group) 103 96 # Sleep even if something does change 104 97 print str(datetime.datetime.now()) + \ -
pjproject/trunk/third_party/build/os-auto.mak.in
- Property svn:eol-style changed from native to LF
-
pjproject/trunk/third_party/build/portaudio/os-auto.mak.in
- Property svn:eol-style set to LF
Note: See TracChangeset
for help on using the changeset viewer.