Skip to content

Commit

Permalink
Merge #1739
Browse files Browse the repository at this point in the history
1739: Run Reftests on WARP r=kvark a=cwfitzgerald

**Connections**

#1551.

**Description**

All the segmentation faults on linux, none of them on windows.

**Testing**

It is!


Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
  • Loading branch information
bors[bot] and cwfitzgerald authored Jul 29, 2021
2 parents c1a305c + b2080bf commit 7c4ab4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os: windows-2019
channel: stable
target: x86_64-pc-windows-msvc
kind: compile
kind: test

# MacOS

Expand Down Expand Up @@ -153,17 +153,17 @@ jobs:
cargo build --target ${{ matrix.target }} --tests -p player
cargo build --target ${{ matrix.target }} --examples --tests -p wgpu
# - name: tests
# if: matrix.kind == 'test'
# run: |
# # run wgpu-info
# cargo run --target ${{ matrix.target }} --bin wgpu-info
- name: tests
if: matrix.kind == 'test' && matrix.os == 'windows-2019'
run: |
# run wgpu-info
cargo run --target ${{ matrix.target }} --bin wgpu-info
# # run player tests
# cargo test --target ${{ matrix.target }} -p player -- --nocapture
# run player tests
cargo test --target ${{ matrix.target }} -p player -- --nocapture
# # run coretests
# cargo run --target ${{ matrix.target }} --bin wgpu-info -- cargo test --target ${{ matrix.target }} -p wgpu -- --nocapture --test-threads=1 # GLES is currently non-multithreadable
# run coretests
cargo run --target ${{ matrix.target }} --bin wgpu-info -- cargo test --target ${{ matrix.target }} -p wgpu --no-fail-fast -- --nocapture --test-threads=1 # GLES is currently non-multithreadable
fmt:
name: Format
Expand Down
2 changes: 1 addition & 1 deletion wgpu/examples/boids/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,6 @@ fn boids() {
base_test_parameters: framework::test_common::TestParameters::default()
.downlevel_flags(wgpu::DownlevelFlags::COMPUTE_SHADERS),
tolerance: 0,
max_outliers: 1000, // Currently bounded by rpi4
max_outliers: 2500, // Currently bounded by WARP
});
}

0 comments on commit 7c4ab4e

Please sign in to comment.