skia2/tools/run-wasm-gm-tests/Makefile
Kevin Lubick dffd20efe9 [canvaskit] Add unit tests to wasm_gm_tests
There are currently many tests skipped, but many more pass.
This changes the built binary to have a lot of debugging logic
in it so we should be able to get backtraces on those crashes
more easily when debugging.

gmtests.html was removed as it was superceded by run-wasm-gm-tests
and make run_local.

Bug: skia:10812, skia:10869
Change-Id: I72ab34d3db83a654dc8829831b3ecb795fe23d43
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/329170
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Nathaniel Nifong <nifong@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2020-11-02 16:51:23 +00:00

11 lines
402 B
Makefile

run_local:
rm -rf /tmp/wasm-gmtests/
mkdir /tmp/wasm-gmtests/
touch /tmp/wasm-gmtests/empty.txt
node run-wasm-gm-tests --js_file ../../out/wasm_gm_tests/wasm_gm_tests.js \
--wasm_file ../../out/wasm_gm_tests/wasm_gm_tests.wasm \
--resources ../../resources \
--known_hashes /tmp/wasm-gmtests/empty.txt \
--output /tmp/wasm-gmtests/ \
--use_gpu --timeout 600