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

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2398 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/tests/pjsua/runall.py b/tests/pjsua/runall.py
index 4785fde..3eb1a6d 100644
--- a/tests/pjsua/runall.py
+++ b/tests/pjsua/runall.py
@@ -57,6 +57,12 @@
 for pat in excluded_tests:
     tests = [t for t in tests if t.find(pat)==-1]
 
+# List the tests only?
+if len(sys.argv)==2 and sys.argv[1]=="--list":
+    for t in tests:
+	print t
+    sys.exit(0)
+
 # Resume test?
 resume_script=""
 if len(sys.argv) > 1: