summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-09-01 02:12:49 -0700
committerGitHub <noreply@github.com>2023-09-01 02:12:49 -0700
commitd1f7e406e895f77d1d02615edd568cd2535957b4 (patch)
tree4bdec6e51548a5b94362c9589998fd86ca220107
parent9c11a87f8f811a9a110d73a24ab93443ea347506 (diff)
Fix CI related issues. (#3175)
Co-authored-by: Yong He <yhe@nvidia.com>
-rw-r--r--github_test.sh2
-rw-r--r--tests/expected-failure-linux.txt1
-rw-r--r--tools/slang-test/test-context.h4
3 files changed, 4 insertions, 3 deletions
diff --git a/github_test.sh b/github_test.sh
index 6f6e18abe..f3c66e9b4 100644
--- a/github_test.sh
+++ b/github_test.sh
@@ -38,4 +38,4 @@ SLANG_TEST=${OUTPUTDIR}slang-test
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OUTPUTDIR
export PATH=$PATH:${OUTPUTDIR}
-${SLANG_TEST} -bindir ${OUTPUTDIR} -travis -category ${SLANG_TEST_CATEGORY} ${SLANG_TEST_FLAGS} -api all-vk
+${SLANG_TEST} -bindir ${OUTPUTDIR} -travis -category ${SLANG_TEST_CATEGORY} ${SLANG_TEST_FLAGS} -api all-vk -expected-failure-list tests/expected-failure-linux.txt
diff --git a/tests/expected-failure-linux.txt b/tests/expected-failure-linux.txt
new file mode 100644
index 000000000..2c5295967
--- /dev/null
+++ b/tests/expected-failure-linux.txt
@@ -0,0 +1 @@
+tests/cpu-program/gfx-smoke.slang (cpu) \ No newline at end of file
diff --git a/tools/slang-test/test-context.h b/tools/slang-test/test-context.h
index ad8a45042..aa27f7d96 100644
--- a/tools/slang-test/test-context.h
+++ b/tools/slang-test/test-context.h
@@ -159,8 +159,8 @@ class TestContext
/// TODO(JS): We could split the stdlib compilation from other actions, and have timeout specific for
/// that. To do this we could have a 'compileStdLib' RPC method.
///
- /// Current default is 20 seconds.
- Slang::Int connectionTimeOutInMs = 20 * 1000;
+ /// Current default is 60 seconds.
+ Slang::Int connectionTimeOutInMs = 60 * 1000;
void setThreadIndex(int index);
void setMaxTestRunnerThreadCount(int count);