Changeset 264951 in webkit
- Timestamp:
- Jul 27, 2020 4:27:27 PM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r264950 r264951 1 2020-07-27 Kenneth Russell <kbr@chromium.org> 2 3 Add output directory option to WebGL conformance import script 4 https://bugs.webkit.org/show_bug.cgi?id=214856 5 6 Reviewed by Dean Jackson. 7 8 Add an -o / --ouptut-dir option to support revising the 9 LayoutTests/webgl/2.0.0 snapshot. 10 11 * webgl/generate-webgl-tests.py: 12 (main): 13 1 14 2020-07-24 Ryan Haddad <ryanhaddad@apple.com> 2 15 -
trunk/LayoutTests/webgl/generate-webgl-tests.py
r232783 r264951 213 213 "-e", "--generate-expectations", action="store_true", 214 214 help="generatet the test expectations") 215 parser.add_option( 216 "-o", "--output-dir", dest="output_dir", 217 help="base directory for output. defaults to \'.\'", 218 default=".") 215 219 216 220 (options, args) = parser.parse_args(args=argv) … … 223 227 224 228 source_dir = options.source_dir; 225 webgl_tests_dir = "resources/webgl_test_files"226 base_path = "."229 output_dir = options.output_dir; 230 webgl_tests_dir = os.path.join(output_dir, "resources/webgl_test_files") 227 231 228 232 # copy all the files from the WebGL conformance tests. … … 241 245 for test in tests: 242 246 url = os.path.relpath(test["url"], source_dir) 243 dst = url247 dst = os.path.join(output_dir, url) 244 248 dst_dir = os.path.dirname(dst) 245 249 src = os.path.relpath(os.path.join(webgl_tests_dir, url), dst_dir).replace("\\", "/") 246 base_url = os.path.relpath( base_path, dst_dir).replace("\\", "/")250 base_url = os.path.relpath(output_dir, dst_dir).replace("\\", "/") 247 251 subs = { 248 252 "url": src,
Note: See TracChangeset
for help on using the changeset viewer.