Skip to content
Browse files

fixes to the coverage script to re-enable coverage for TDoc

TIMOB-7661
  • Loading branch information...
1 parent 48c01f9 commit e81c9ec6b515a3e7584049b063e601c1ac6629b6 @marshall marshall committed Feb 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 drillbit/coverage/coverage.py
View
4 drillbit/coverage/coverage.py
@@ -21,7 +21,9 @@
drillbitDir = os.path.dirname(coverageDir)
mobileDir = os.path.dirname(drillbitDir)
supportCommonDir = os.path.join(mobileDir, "support", "common")
+supportAndroidDir = os.path.join(mobileDir, "support", "android")
sys.path.append(supportCommonDir)
+sys.path.append(supportAndroidDir)
try:
import json
@@ -383,7 +385,7 @@ def pruneDrillbitCoverage(self):
def initDrillbitTests(self):
os.chdir(drillbitDir)
- rhinoJar = os.path.join(mobileDir, "android", "titanium", "lib", "js.jar")
+ rhinoJar = os.path.join(mobileDir, "android", "runtime", "rhino", "lib", "js.jar")
self.drillbitTests = json.loads(subprocess.Popen(
["java", "-jar", rhinoJar, "drillbit.js"], stdout=subprocess.PIPE).communicate()[0])

0 comments on commit e81c9ec

Please sign in to comment.
Something went wrong with that request. Please try again.