summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml3
m---------external/slang-rhi0
-rw-r--r--tests/expected-failure-github.txt2
-rw-r--r--tools/slang-test/slang-test-main.cpp5
4 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 56e1df6b0..0491bbdc8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -145,7 +145,8 @@ jobs:
-use-test-server \
-server-count 8 \
-category ${{ matrix.test-category }} \
- -api all-cpu
+ -api all-cpu \
+ -expected-failure-list tests/expected-failure-github.txt
elif [[ "${{matrix.has-gpu}}" == "true" ]]; then
"$bin_dir/slang-test" \
-use-test-server \
diff --git a/external/slang-rhi b/external/slang-rhi
-Subproject 10ab9c69fb0f1e3f476c7fd66ca7f3bedffebe5
+Subproject db40464b1a84c671824472acbff83402959f9db
diff --git a/tests/expected-failure-github.txt b/tests/expected-failure-github.txt
index 3c318993a..9fe6d72f7 100644
--- a/tests/expected-failure-github.txt
+++ b/tests/expected-failure-github.txt
@@ -17,6 +17,7 @@ tests/autodiff/global-param-hoisting.slang.4 syn (wgpu)
tests/autodiff/material/diff-bwd-falcor-material-system.slang.2 syn (wgpu)
tests/autodiff/material2/diff-bwd-falcor-material-system.slang.2 syn (wgpu)
tests/autodiff/matrix-arithmetic-fwd.slang.2 syn (wgpu)
+tests/autodiff/no-diff-strip.slang.3 syn (wgpu)
tests/autodiff/reverse-loop-checkpoint-test.slang.3 syn (wgpu)
tests/bindings/nested-parameter-block-2.slang.4 syn (wgpu)
tests/bindings/nested-parameter-block-3.slang.4 syn (wgpu)
@@ -39,6 +40,7 @@ tests/bugs/op-assignment-unify-mat.slang.4 syn (wgpu)
tests/bugs/shadowed-lookup.slang.1 syn (wgpu)
tests/bugs/specialize-function-array-args.slang.2 syn (wgpu)
tests/bugs/static-var.slang.1 syn (wgpu)
+tests/bugs/texture2d-gather.hlsl.2 syn (wgpu)
tests/bugs/user-attribute-lookup.slang.2 syn (wgpu)
tests/compute/atomics (wgpu)
tests/compute/atomics-buffer (wgpu)
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp
index fccba8fd8..bdc7a082b 100644
--- a/tools/slang-test/slang-test-main.cpp
+++ b/tools/slang-test/slang-test-main.cpp
@@ -3583,6 +3583,11 @@ TestResult doRenderComparisonTestRun(
*outOutput = output;
+ // Always fail if the compilation produced a failure.
+ if (exeRes.resultCode != 0)
+ {
+ return TestResult::Fail;
+ }
return TestResult::Pass;
}