Author: sebastien.lelong
Date: Wed Oct 22 11:40:42 2008
New Revision: 445
Modified:
trunk/tools/jallib.py
Log:
fixed the way the script build -s option when multiple dirs passed to
option -R + ; is now the char used to separate -R option dirs -- like jalv2
-s -- because : is used under win to specify the hard disk...
Modified: trunk/tools/jallib.py
==============================================================================
--- trunk/tools/jallib.py (original)
+++ trunk/tools/jallib.py Wed Oct 22 11:40:42 2008
@@ -140,9 +140,9 @@
for o,v in opts:
if o == '-R':
dirs = []
- gdirs = v.split(":")
+ gdirs = v.split(";")
for d in gdirs:
- dirs = _explore_dir(d)
+ dirs.extend(_explore_dir(d))
elif o == '-E':
jalv2_exec = v
else:
@@ -150,7 +150,7 @@
# No root specified ? Try env var, else defaut to cwd
if not dirs:
v = os.environ.get('JALLIB_REPOS',os.path.curdir)
- gdirs = v.split(":")
+ gdirs = v.split(";")
for d in gdirs:
dirs = _explore_dir(d)
# No exec specify, try env var or defaulting
@@ -707,7 +707,7 @@
-R path1[:path2[:path3]...] : use this option to specify one or more
root path to jallib directories.
Directory
- paths are seperated using ':' char. If no
+ paths are seperated using ';' char. If no
option is given, this script will also
look at a JALLIB_REPOS environment
variable.
If no variable is set, then this script
@@ -756,8 +756,8 @@
If pysvn module is installed, will automatically get revision
information for given sample. Else, you'll need to specify the
revision, using @revision format. Using the full format with
- revision will also bypass getting information from SVN using
- pysvn, even if this module is installed.
+ revision will also bypass getting information from SVN using
+ pysvn, even if this module is installed.
For example:
* to register a new test which passed, for 16f88
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---