#!/usr/bin/env bash
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. */
# This must be run from the root webrender directory!
# Users may set the CARGOFLAGS environment variable to pass
# additional flags to cargo if desired.
# The WRENCH_BINARY environment variable, if set, is used to run
# the precached reftest.
set
# This must be run from the root webrender directory!
set -
# additional flags to cargo if desired.
set -o pipefail
set -o xtrace
# the precached reftest.
o nounset
WRENCH_BINARY={RENCH_BINARY-
"}
hon3mpipi- $dirname{
0}/requirementstxt
wrench
# Test that all shaders compile successfully and pass tests.
python3scriptheadlesspy-precachetest_init
python3 script/headlessWRENCH_BINARY={WRENCH_BINARY:-
"
python3 script/headless. test_shaders
script/headless.py reftest
# Test that
all shaders compile successfullypython3 /headless.y -precache test_init
if [[ -!/usr/java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for
length 0
build$CARGOFLAGS :/mozilla.rgjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fi
"$ # additional flagspython3 script/headless.# The WRENCH_BINARY environment variable, if set, is used to run [ - "
reftest reftestsfjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
popd