Skip to content

Commit

Permalink
Undo C++ client checks and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Jul 31, 2024
1 parent 09cb282 commit 3863c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
11 changes: 0 additions & 11 deletions qa/L0_input_validation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ DATADIR=/data/inferenceserver/${REPO_VERSION}
SERVER=/opt/tritonserver/bin/tritonserver
CLIENT_LOG="./input_validation_client.log"
TEST_PY=./input_validation_test.py
CC_UNIT_TEST=../clients/client_input_test
TEST_RESULT_FILE='./test_results.txt'
SERVER_LOG="./inference_server.log"
TEST_LOG="./input_byte_size_test.log"
Expand Down Expand Up @@ -103,16 +102,6 @@ if [ $? -ne 0 ]; then
fi
set -e

# client_input_test
set +e
$CC_UNIT_TEST >> $CLIENT_LOG 2>&1
if [ $? -ne 0 ]; then
cat $CLIENT_LOG
echo -e "\n***\n*** client_input_test FAILED\n***"
RET=1
fi
set -e

kill $SERVER_PID
wait $SERVER_PID

Expand Down
5 changes: 2 additions & 3 deletions qa/L0_sdk/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ else
RET=1
fi

g++ http_test.cc $client_lib/libhttpclient_static.a $client_lib/libcurl.a \
$client_lib/libtritoncommonmodelconfig.a $client_lib/libprotobuf.a \
-o http_test_static -I$client_inc -lz -lssl -lcrypto -lpthread
g++ http_test.cc $client_lib/libhttpclient_static.a $client_lib/libcurl.a -o http_test_static \
-I$client_inc -lz -lssl -lcrypto -lpthread

if [ $? -eq 0 ]; then
if [[ ! -x "./http_test_static" ]]; then
Expand Down

0 comments on commit 3863c39

Please sign in to comment.