diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-06-18 16:38:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 16:38:39 -0700 |
| commit | 3cbc500118d27f82c89f401ffb34826264e9cb60 (patch) | |
| tree | 0d3cb7e997f4a2fd5037f515f0e4cc8b43259ec1 /tests | |
| parent | 777ac6cae9776cd2d28bd5a9f627261ba9740153 (diff) | |
Fix retry logic for unit test (#7471)
* Fix the ignored unit-tests on retry
* Retrigger CI
* Add more error messages
* Don't use test-server for retry of unit-test to see error messages
* Clean up cl.yml
Remove 'has-gpu' because it is unused after debug became full-gpu-test.
Renamed files to make the meaning more clear:
- Renamed expected-failure.txt to expected-failure-via-glsl.txt
- Renamed expected-failure-github-runner.txt to expected-failure-no-gpu.txt
* Rename cpu-hello-world.slang to avoid name conflict to example
We have an example whose executable name is cpu-hello-world.exe.
It gets built when you run `cmake --build`, but it gets overwritten by
slang-test when it tests `tests/cpu-program/cpu-hello-world.slang`.
This PR renames to avoid the name conflict.
* Remove debug code
---------
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cpu-program/cpu-hello-world-test.slang (renamed from tests/cpu-program/cpu-hello-world.slang) | 0 | ||||
| -rw-r--r-- | tests/cpu-program/cpu-hello-world-test.slang.expected (renamed from tests/cpu-program/cpu-hello-world.slang.expected) | 0 | ||||
| -rw-r--r-- | tests/expected-failure-github-runner.txt | 1 | ||||
| -rw-r--r-- | tests/expected-failure-no-gpu.txt | 6 | ||||
| -rw-r--r-- | tests/expected-failure-via-glsl.txt (renamed from tests/expected-failure.txt) | 0 |
5 files changed, 6 insertions, 1 deletions
diff --git a/tests/cpu-program/cpu-hello-world.slang b/tests/cpu-program/cpu-hello-world-test.slang index a44761e8f..a44761e8f 100644 --- a/tests/cpu-program/cpu-hello-world.slang +++ b/tests/cpu-program/cpu-hello-world-test.slang diff --git a/tests/cpu-program/cpu-hello-world.slang.expected b/tests/cpu-program/cpu-hello-world-test.slang.expected index 81531657f..81531657f 100644 --- a/tests/cpu-program/cpu-hello-world.slang.expected +++ b/tests/cpu-program/cpu-hello-world-test.slang.expected diff --git a/tests/expected-failure-github-runner.txt b/tests/expected-failure-github-runner.txt deleted file mode 100644 index 1da3a9669..000000000 --- a/tests/expected-failure-github-runner.txt +++ /dev/null @@ -1 +0,0 @@ -slang-unit-test-tool/cudaCodeGenBug.internal diff --git a/tests/expected-failure-no-gpu.txt b/tests/expected-failure-no-gpu.txt new file mode 100644 index 000000000..93c5394f7 --- /dev/null +++ b/tests/expected-failure-no-gpu.txt @@ -0,0 +1,6 @@ +slang-unit-test-tool/RecordReplay_triangle.internal +slang-unit-test-tool/RecordReplay_ray_tracing.internal +slang-unit-test-tool/RecordReplay_ray_tracing_pipeline.internal +slang-unit-test-tool/RecordReplay_autodiff_texture.internal +slang-unit-test-tool/RecordReplay_gpu_printing.internal +slang-unit-test-tool/cudaCodeGenBug.internal diff --git a/tests/expected-failure.txt b/tests/expected-failure-via-glsl.txt index 7283c8d97..7283c8d97 100644 --- a/tests/expected-failure.txt +++ b/tests/expected-failure-via-glsl.txt |
