We were 98% of the way there; now we no longer need to
cd into the same directory as the i18n testing scripts
to run them with meaningful output. Should be useful
for adding these to the CI server.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20149
dcc99617-32d9-48b4-a31d-
7c20da2025e4
xul_files = []
for x_dir in XML_DIRS:
- for root, dirs, files in os.walk(x_dir):
+ for root, dirs, files in os.walk(os.path.join(basedir, x_dir)):
for x_file in files:
if os.path.splitext(x_file)[1] == '.xul' or \
os.path.splitext(x_file)[1] == '.html' or \
xul_files = []
for x_dir in XUL_DIRS:
- for root, dirs, files in os.walk(x_dir):
+ for root, dirs, files in os.walk(os.path.join(basedir, x_dir)):
for x_file in files:
if os.path.splitext(x_file)[1] == '.xul' or os.path.splitext(x_file)[1] == '.js':
check_xul(root, x_file, props)