File tree Expand file tree Collapse file tree 1 file changed +5
-18
lines changed
Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
2- # Copyright 2025 Google LLC
1+ #! /bin/sh -e
2+ # Copyright 2025 Google LLC.
33#
44# Licensed under the Apache License, Version 2.0 (the "License");
55# you may not use this file except in compliance with the License.
1515#
1616# ###############################################################################
1717
18- # Usage: bash run_test.sh
19- # Runs all tests.
18+ rgrep --files-with-matches ' \-lheif ' . \
19+ | xargs -r sed -i ' s/-lheif/-lheif -lc++/ '
2020
21- set -e # Exit immediately if any command fails
22-
23- PROJECT_SRC_DIR=" $SRC /imagemagick"
24-
25- echo " ==> Changing to ImageMagick source directory: $PROJECT_SRC_DIR "
26- cd " $PROJECT_SRC_DIR "
27-
28- echo " ==> Setup needed right now..." # DO NOT SUBMIT
29- ./configure
30- echo " ==> Setup finished successfully." # DO NOT SUBMIT
31-
32- echo " ==> Running all tests..."
33- make check
34- echo " ==> Test run finished successfully."
21+ make -j" $( nproc) " check
You can’t perform that action at this time.
0 commit comments