ac7f23c807
* C++ code moved into tools/skqp/src/. * State held with single SkQP class. * gmkb functions moved to skqp_model.{h,cpp} * model no longer knows about report format. * skqp_main and skqp_lib no longer have globals * jni code has fewer globals. * skqp_main no longer uses googletest. * AssetMng returns SkData, not a SkStream. * Add jitter tool. * dump GPU information into grdump.txt * JUnit puts report in directory with timestamp. * Document SkQP Render Test Algorithm. * GPU driver correctness workarounds always off * cut_release tool for assembling models * make_rendertests_list.py to help cut_release * make_gmkb.go emits a list of models CQ_INCLUDE_TRYBOTS=skia.primary:Build-Debian9-Clang-x86-devrel-Android_SKQP Change-Id: I7d4f0c24592b1f64be0088578a3f1a0bc366dd4d Reviewed-on: https://skia-review.googlesource.com/c/110420 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
32 lines
889 B
Bash
Executable File
32 lines
889 B
Bash
Executable File
#! /bin/sh
|
|
# Copyright 2018 Google LLC.
|
|
# Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: $0 META.JSON" >&2
|
|
exit 1
|
|
fi
|
|
|
|
set -x
|
|
set -e
|
|
META_JSON="$1"
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
if [ -z "$SKQP_SKIP_INFRA_UPDATE" ]; then
|
|
go get -u go.skia.org/infra/golden/go/search
|
|
fi
|
|
go run tools/skqp/make_gmkb.go \
|
|
"$META_JSON" \
|
|
platform_tools/android/apps/skqp/src/main/assets/gmkb
|
|
env GIT_SYNC_DEPS_QUIET=1 python tools/git-sync-deps
|
|
O='out/ndebug'
|
|
mkdir -p $O
|
|
bin/gn gen $O --args='cc="clang" cxx="clang++" is_debug=false'
|
|
ninja -C $O jitter_gms list_gpu_unit_tests
|
|
$O/jitter_gms tools/skqp/bad_gms.txt
|
|
python tools/skqp/make_rendertests_list.py
|
|
rm 'bad.txt' 'good.txt'
|
|
sh tools/skqp/upload_model
|
|
$O/list_gpu_unit_tests \
|
|
> platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt
|