Add sleep time after tests are run (#2717)

*Add sleep after tests are run on AMD backend nodes
* Disable Unit_hipPtrGetAttribute_Simple test for now

[ROCm/hip commit: 3cb957d3b7]
This commit is contained in:
arjun-raj-kuppala
2022-06-08 15:07:48 +05:30
کامیت شده توسط GitHub
والد c4061124a3
کامیت 4128667481
+3 -1
مشاهده پرونده
@@ -59,6 +59,7 @@ def hipBuildTest(String backendLabel) {
# Check if backend label contains string "amd" or backend host is a server with amd gpu
if [[ $backendLabel =~ amd ]]; then
LLVM_PATH=/opt/rocm/llvm ctest -E 'cooperative_streams_least_capacity.tst|cooperative_streams_half_capacity.tst|cooperative_streams_full_capacity.tst|grid_group_data_sharing.tst|hipIpcMemAccessTest.tst|p2p_copy_coherency.tst'
sleep 120
else
make test
fi
@@ -100,7 +101,8 @@ def hipBuildTest(String backendLabel) {
# Check if backend label contains string "amd" or backend host is a server with amd gpu
if [[ $backendLabel =~ amd ]]; then
export HT_CONFIG_FILE="$HIP_DIR/tests/catch/hipTestMain/config/config_amd_linux.json"
LLVM_PATH=/opt/rocm/llvm ctest -E 'Unit_hipGraphChildGraphNodeGetGraph_Functional|Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Negative'
LLVM_PATH=/opt/rocm/llvm ctest -E 'Unit_hipGraphChildGraphNodeGetGraph_Functional|Unit_hipGraphExecMemcpyNodeSetParamsFromSymbol_Negative|Unit_hipPtrGetAttribute_Simple'
sleep 120
else
make test
fi