@@ -19,57 +19,6 @@ BROWSER_VERSIONS = [
19
19
"v124" ,
20
20
]
21
21
22
- XSMALL_TESTS = [
23
- "test/io/io_test.js" ,
24
- "test/io/zip_test.js" ,
25
- "test/lib/by_test.js" ,
26
- "test/lib/credentials_test.js" ,
27
- "test/lib/error_test.js" ,
28
- "test/lib/http_test.js" ,
29
- "test/lib/input_test.js" ,
30
- "test/lib/logging_test.js" ,
31
- "test/lib/promise_test.js" ,
32
- "test/lib/until_test.js" ,
33
- "test/lib/virtualauthenticatoroptions_test.js" ,
34
- "test/lib/webdriver_test.js" ,
35
- "test/net/index_test.js" ,
36
- "test/net/portprober_test.js" ,
37
- ]
38
-
39
- js_library (
40
- name = "small-test-srcs" ,
41
- srcs = XSMALL_TESTS ,
42
- )
43
-
44
- js_library (
45
- name = "large-test-srcs" ,
46
- srcs = glob (
47
- ["test/**/*_test.js" ],
48
- exclude = XSMALL_TESTS ,
49
- ),
50
- )
51
-
52
- js_library (
53
- name = "test-data" ,
54
- srcs = glob (
55
- [
56
- "lib/test/**" ,
57
- "test/**" ,
58
- ],
59
- exclude = [
60
- "test/**/*_test.js" ,
61
- ],
62
- ),
63
- )
64
-
65
- #TEST_DATA = SRC_FILES + glob(
66
- # [
67
- # "lib/test/**",
68
- # "test/**",
69
- # ],
70
- # exclude = LARGE_TESTS + SMALL_TESTS,
71
- #)
72
-
73
22
js_library (
74
23
name = "prod-src-files" ,
75
24
srcs = [
@@ -120,6 +69,49 @@ pkg_tar(
120
69
strip_prefix = "selenium-webdriver" ,
121
70
)
122
71
72
+ SMALL_TESTS = [
73
+ "test/io/io_test.js" ,
74
+ "test/io/zip_test.js" ,
75
+ "test/lib/by_test.js" ,
76
+ "test/lib/credentials_test.js" ,
77
+ "test/lib/error_test.js" ,
78
+ "test/lib/http_test.js" ,
79
+ "test/lib/input_test.js" ,
80
+ "test/lib/logging_test.js" ,
81
+ "test/lib/promise_test.js" ,
82
+ "test/lib/until_test.js" ,
83
+ "test/lib/virtualauthenticatoroptions_test.js" ,
84
+ "test/lib/webdriver_test.js" ,
85
+ "test/net/index_test.js" ,
86
+ "test/net/portprober_test.js" ,
87
+ ]
88
+
89
+ js_library (
90
+ name = "small-test-srcs" ,
91
+ srcs = SMALL_TESTS ,
92
+ )
93
+
94
+ js_library (
95
+ name = "large-test-srcs" ,
96
+ srcs = glob (
97
+ ["test/**/*_test.js" ],
98
+ exclude = SMALL_TESTS ,
99
+ ),
100
+ )
101
+
102
+ js_library (
103
+ name = "test-data" ,
104
+ srcs = glob (
105
+ [
106
+ "lib/test/**" ,
107
+ "test/**" ,
108
+ ],
109
+ exclude = [
110
+ "test/**/*_test.js" ,
111
+ ],
112
+ ),
113
+ )
114
+
123
115
mocha_test (
124
116
name = "small-tests" ,
125
117
size = "small" ,
0 commit comments