[webkit-changes] [WebKit/WebKit] 233c7a: [Tools][GTK][WPE] generate-bundle: Add a test suit...

Carlos Alberto Lopez Perez noreply at github.com
Fri Oct 11 06:29:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 233c7a6a0a0eac5b1c599eed7c11d34aab342387
      https://github.com/WebKit/WebKit/commit/233c7a6a0a0eac5b1c599eed7c11d34aab342387
  Author: Carlos Alberto Lopez Perez <clopez at igalia.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    A Tools/Scripts/test-bundle
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/install_deps_docker_start_test.sh
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/run-webdriver-tests-bundle-docker.sh
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_css_animations.html
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_dynamic_rendering.html
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_video_playback.html
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webdriver_bundle.py
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webgl_rainbow.html
    A Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webgl_support.html

  Log Message:
  -----------
  [Tools][GTK][WPE] generate-bundle: Add a test suite to test the bundle with webdriver and docker
https://bugs.webkit.org/show_bug.cgi?id=280835

Reviewed by Carlos Garcia Campos.

This adds a test suite to automatically check that the generated bundled works correctly.
It runs several tests with WebDriver that exercise advanced parts of the engine: webgl, wasm,
video playback, css animations, etc.

And it runs all those tests automatically in very different distros, from ancient distros like
centos/rockylinux to bleeding edge distros like fedora/arch/gentoo to even non-standard distros
with different libc like Alpine or distros like Nixos or Gentoo.

This test suite will be executed on the bot generating the universal bundles to validate that
the universal bundle works in all of those distros before uploading it.

* Tools/Scripts/test-bundle: Added.
(run_cmd):
(tests_webdriver_minibroser):
(main):
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/install_deps_docker_start_test.sh: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/run-webdriver-tests-bundle-docker.sh: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_css_animations.html: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_dynamic_rendering.html: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_video_playback.html: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webdriver_bundle.py: Added.
(callfunc):
(WebDriverTests):
(WebDriverTests.__init__):
(WebDriverTests.__del__):
(WebDriverTests.test_dynamic_rendering):
(WebDriverTests.test_video_playback):
(WebDriverTests.test_webgl_support):
(WebDriverTests.test_css_animations):
(WebDriverTests.test_webgl_rainbow):
(WebDriverTests.test_webgl_rainbow.get_average_color):
(WebDriverTests.test_webgl_rainbow.test_color_filling):
(WebDriverTests.test_ssl_errors):
(WebDriverTests.test_wasm_doom_load):
(WebDriverTests.do_test):
(WebDriverTests.do_local_test):
(run_all_tests):
(main):
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webgl_rainbow.html: Added.
* Tools/Scripts/webkitpy/binary_bundling/tests/webdriver/test_webgl_support.html: Added.

Canonical link: https://commits.webkit.org/285014@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list