Changeset 3295


Ignore:
Timestamp:
Aug 25, 2010 12:51:29 PM (14 years ago)
Author:
bennylp
Message:

Misc (re #1110): force SVN eol-style to LF for files which are to be manipulated by the configure script, or otherwise the configure script on msys (mingw) will fail to update them

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  
    88INTERVAL = 300 
    99DELAY = 0 
     10CMDLINE = "" 
    1011 
    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 
     12def run_cmdline(group): 
     13        cmdline = CMDLINE + " --group " + group 
     14        return os.system(cmdline) 
    2515 
    2616 
     
    2919 
    3020Usage: 
    31   run_continuous.py [options] scenario1.xml [scenario2.xml ...] 
     21  run_continuous.py [options] "cmdline" 
     22 
     23where: 
     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). 
    3229 
    3330options: 
     
    4744                usage() 
    4845 
    49         # Splice list 
    50         scenarios = [] 
     46        # Check args 
    5147        i = 1 
    5248        while i < len(sys.argv): 
     
    5955                        print "Delay is set to %f minute(s)" % (DELAY / 60) 
    6056                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" 
    6559                                sys.exit(1) 
    66                         scenarios.append(scenario) 
    67                         print "Scenario %s added" % (scenario) 
     60                        CMDLINE = sys.argv[i] 
    6861                i = i + 1 
    6962 
    70         if len(scenarios) < 1: 
    71                 print "Error: scenario is required" 
     63        if not CMDLINE: 
     64                print "Error: cmdline is needed" 
    7265                sys.exit(1) 
    7366 
     
    10093                                print "Will run %s after %f s.." % (group, DELAY) 
    10194                                time.sleep(DELAY) 
    102                                 rc = run_scenarios(scenarios, group) 
     95                                rc = run_cmdline(group) 
    10396                                # Sleep even if something does change 
    10497                                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.