Skip to content

Commit 2da64e4

Browse files
committed
[Travis] fix macos timeout message
1 parent 3cd37be commit 2da64e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/travis/macos/script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ gtimeout ${TIMEOUT}s ctest -V -E "$(cat ${DIR}/blacklist.txt | gsed -r '/^(#.*?)
3535

3636
rv=$?
3737

38-
if [ $? -eq 124 ] ; then
38+
if [ $rv -eq 124 ] ; then
3939
echo '\033[0;33mBuild and test timeout. Please restart the build for useful results.\033[0m'
4040
fi
4141

0 commit comments

Comments
 (0)