Use list comprehensions in javascript/atoms build file
@@ -224,13 +224,13 @@ browsers = {
'chrome': 'chrome',
'ie': 'ie',
'safari': 'safari'}
-for browser in browsers.keys():
- java_test(
+
+[java_test(
name = 'atoms-%s' % browser,
vm_args = [
'-Dselenium.browser=%s' % browsers[browser],
'-Djs.test.timeout=20',
- '-Djs.test.dir=%s' % get_base_path(),
+ '-Djs.test.dir=%s' % package_name(),
],
test_classes = [
'org.openqa.selenium.javascript.ClosureTestSuite',
@@ -242,4 +242,4 @@ for browser in browsers.keys():
'//java/client/src/org/openqa/selenium/ie:ie',
'//java/client/src/org/openqa/selenium/firefox:firefox',
],
- )
+) for browser in browsers.keys()]
