File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ RUN apt-get update && \
2525 make \
2626 ninja-build
2727
28+ # For run_tests.sh
29+ RUN python3 -m pip install meson ninja requests
2830
2931# Get some files for the seed corpus
3032ADD https://github.com/adobe-fonts/adobe-variable-font-prototype/releases/download/1.001/AdobeVFPrototype.otf $SRC/font-corpus/
@@ -33,4 +35,4 @@ RUN git clone https://github.com/unicode-org/text-rendering-tests.git && cp text
3335RUN git clone --depth 1 https://github.com/freetype/freetype2-testing.git
3436WORKDIR freetype2-testing
3537
36- COPY build .sh $SRC/
38+ COPY * .sh $SRC/
Original file line number Diff line number Diff line change 1+ #! /bin/bash -eu
2+ # Copyright 2025 Google LLC.
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+ #
16+ # ##############################################################################
17+
18+ cd external/freetype2/
19+ python3 tests/scripts/download-test-fonts.py
20+
21+ # The tests build with meson so we are forced to rebuild with meson here.
22+ # The harnesses are build with Makefiles.
23+ meson setup out -Dtests=enabled
24+ meson compile -C out
25+ meson test -C out
You can’t perform that action at this time.
0 commit comments