Changeset 2398 for pjproject


Ignore:
Timestamp:
Dec 29, 2008 2:52:29 PM (16 years ago)
Author:
bennylp
Message:

Added --list argument to list tests in runall.py, and fixed build.mak location error due to moving test directory last time

Location:
pjproject/trunk/tests/pjsua
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/pjsua/run.py

    r2392 r2398  
    8181            G_INUNIX = False 
    8282        else: 
    83             f = open("../../../build.mak", "r") 
     83            f = open("../../build.mak", "r") 
    8484            while True: 
    8585                line = f.readline() 
  • pjproject/trunk/tests/pjsua/runall.py

    r2111 r2398  
    5757for pat in excluded_tests: 
    5858    tests = [t for t in tests if t.find(pat)==-1] 
     59 
     60# List the tests only? 
     61if len(sys.argv)==2 and sys.argv[1]=="--list": 
     62    for t in tests: 
     63        print t 
     64    sys.exit(0) 
    5965 
    6066# Resume test? 
Note: See TracChangeset for help on using the changeset viewer.