Skip to content

Commit 4709317

Browse files
ragansaalexmalyshev
authored andcommitted
- Checks that binaries were built before running tck test (#415)
1 parent 09a2042 commit 4709317

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/tck_test.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ else
3131
exit 1
3232
fi
3333

34+
if [ ! -s ./build/tckserver ] && [ "$server_lang" = cpp ]; then
35+
echo "./build/tckserver Binary not found!"
36+
exit 1
37+
fi
38+
39+
if [ ! -s ./build/tckclient ] && [ "$client_lang" = cpp ]; then
40+
echo "./build/tckclient Binary not found!"
41+
exit 1
42+
fi
43+
3444
java_server="java -cp reactivesocket-tck-drivers-0.9-SNAPSHOT.jar io/reactivesocket/tckdrivers/main/Main --server --host localhost --port 9898 --file tck-test/servertest.txt"
3545
java_client="java -cp reactivesocket-tck-drivers-0.9-SNAPSHOT.jar io/reactivesocket/tckdrivers/main/Main --client --host localhost --port 9898 --file tck-test/clienttest.txt"
3646

0 commit comments

Comments
 (0)