From 3cbc500118d27f82c89f401ffb34826264e9cb60 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 18 Jun 2025 16:38:39 -0700 Subject: 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 --- tests/cpu-program/cpu-hello-world-test.slang.expected | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/cpu-program/cpu-hello-world-test.slang.expected (limited to 'tests/cpu-program/cpu-hello-world-test.slang.expected') diff --git a/tests/cpu-program/cpu-hello-world-test.slang.expected b/tests/cpu-program/cpu-hello-world-test.slang.expected new file mode 100644 index 000000000..81531657f --- /dev/null +++ b/tests/cpu-program/cpu-hello-world-test.slang.expected @@ -0,0 +1,6 @@ +result code = 0 +standard error = { +} +standard output = { +Hello World. +} -- cgit v1.2.3