clean_junit_xml: ported to rospkg

This commit is contained in:
Ken Conley 2011-10-06 18:58:46 +00:00
parent 1ae63bcfd9
commit 4e5722482e
1 changed files with 2 additions and 2 deletions

View File

@ -48,11 +48,11 @@ import roslib; roslib.load_manifest(PKG)
import os
import sys
import roslib.rosenv
import rospkg
import rosunit.junitxml as junitxml
def prepare_dirs(output_dir_name):
test_results_dir = roslib.rosenv.get_test_results_dir()
test_results_dir = rospkg.get_test_results_dir()
print("will read test results from", test_results_dir)
output_dir = os.path.join(test_results_dir, output_dir_name)
if not os.path.exists(output_dir):