f14a3c059f
Consolidates the karma files into one for docker/asmjs/wasm and all combinations. The asm.js build seems to have some small imprecisions that we didn't see as much as with WASM, probably due to JS limitations/differences to c++'s floats. To address these, I've marked some (5) tests in PathOps* as flaky because they fail on Release, Debug or Test versions of the asm.js build. Other then that, asm.js seems basically identical to the WASM. WASM is much smaller, 416k vs 877k and seems to load faster (not measured). Note to reviewers: example.html was copied from npm-wasm version, so doesn't need further review. Bug: skia:8216 Change-Id: Ib92b90fa6c598de85a0be319d46b25693ae5aaa4 Reviewed-on: https://skia-review.googlesource.com/148396 Reviewed-by: Stephan Altmueller <stephana@google.com>
9 lines
393 B
Docker
9 lines
393 B
Docker
# Docker container with Chrome, and karma/jasmine, to be used to run JS tests and
|
|
# collect output for Skia Infra's Gold tool (correctness checking).
|
|
#
|
|
# Tests will be run as non-root (user skia, in fact), so /OUT should have permissions
|
|
# 777 so as to be able to create output there.
|
|
|
|
FROM gcr.io/skia-public/karma-chrome-tests:68.0.3440.106_v5
|
|
|
|
COPY /tmp/gold-aggregator /opt/gold-aggregator |