Index: /issm/trunk-jpl/test/NightlyRun/IdFromString.m
===================================================================
--- /issm/trunk-jpl/test/NightlyRun/IdFromString.m	(revision 20140)
+++ /issm/trunk-jpl/test/NightlyRun/IdFromString.m	(revision 20141)
@@ -8,4 +8,5 @@
 %      ids=IdFromString('Parallel');
 %      ids=IdFromString('79North');
+%      ids=IdFromString('*');          %Print all tests
 
 %Check input
@@ -18,5 +19,9 @@
 
 %Grep string
-[dummy ids_raw]=system(['find ./ -name "test[0-9]*.m" | xargs grep "%Test Name:" | grep ' string ' | sed -e "s/test/ /g" -e "s/\.m:/ /g" | awk {''print $2''}']);
+if strcmp(string,'*'),
+	[dummy ids_raw]=system(['find ./ -name "test[0-9]*.m" | xargs grep "%Test Name:" | sed -e "s/test/ /g" -e "s/\.m:/ /g" | awk {''print $2''}']);
+else
+	[dummy ids_raw]=system(['find ./ -name "test[0-9]*.m" | xargs grep "%Test Name:" | grep ' string ' | sed -e "s/test/ /g" -e "s/\.m:/ /g" | awk {''print $2''}']);
+end
 
 %return if no test found
@@ -32,4 +37,5 @@
 	eval(['ids=[ids ' ids_raw{i} '];']); 
 end
+ids=sort(ids);
 
 %Display names
