Use list comprehensions in javascript/remote build file
@@ -18,13 +18,13 @@ browsers = {
'firefox': 'ff',
'chrome': 'chrome',
'ie': 'ie'}
-for browser in browsers.keys():
- java_test(
+
+[java_test(
name = 'remote-%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',
@@ -36,7 +36,7 @@ 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()]
closure_binary(name = 'client',
