summaryrefslogtreecommitdiff
path: root/other/apidsl
diff options
context:
space:
mode:
authorGregory Mullen (grayhatter) <greg@grayhatter.com>2016-07-12 12:32:35 -0700
committerGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-11 14:41:57 -0700
commit6f3e689eebb467793247e0693467647a8daed9e9 (patch)
treed6f3a5c8926d0ac354935f11fe49e60ed005b155 /other/apidsl
parent5d26ce1cf5fb88f39a762b76c528a91690783840 (diff)
Fix a few issues with running Toxcore tests on Travis-CI
> increased the timeout for TCP tests because per @irungentoo the network on Travis-CI can be slow sometimes > allowed groupchats test to restart on error until timeout This had to be done because current groupchats are fundamentally broken and 3/5 times they'll 'net-split' on connect >> Drop group chat tests, add comment to the reason > added some debugging information to TCP tests, and a #define to force IPV6 (Travis-CI only uses IPv4 on their containers) and decreased the itr interval > Went crazy with timeouts for Tox network stuff on Travis. Tests on TCP will still randomly fail due to timeouts. I can't reproduce on any local system. So again per @irungentoo, Travis is slow, let's offer it a short bus.
Diffstat (limited to 'other/apidsl')
-rw-r--r--other/apidsl/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/apidsl/README.md b/other/apidsl/README.md
index 3c194df5..3ba44678 100644
--- a/other/apidsl/README.md
+++ b/other/apidsl/README.md
@@ -19,7 +19,7 @@ If you want to do it quickly and you don't have time for anything other than cop
19Command to run from ``toxcore`` directory (quick way, involves using curl): 19Command to run from ``toxcore`` directory (quick way, involves using curl):
20```bash 20```bash
21rm toxcore/tox.h && \ 21rm toxcore/tox.h && \
22( curl -X POST --data-binary @- https://criticism.herokuapp.com/apidsl < ./other/apidsl/tox.in.h > ./toxcore/tox.h ) && \ 22( curl -X POST --data-binary @- https://apidsl.herokuapp.com/apidsl < ./other/apidsl/tox.in.h > ./toxcore/tox.h ) && \
23astyle --options=./other/astyle/astylerc ./toxcore/tox.h 23astyle --options=./other/astyle/astylerc ./toxcore/tox.h
24``` 24```
25 25
@@ -46,4 +46,4 @@ If you prefer to have more control over what is happening, there are steps below
46astyle --options=./other/astyle/astylerc ./toxcore/tox.h 46astyle --options=./other/astyle/astylerc ./toxcore/tox.h
47``` 47```
48 48
49**Always pass output from ``apidsl`` through astyle.** \ No newline at end of file 49**Always pass output from ``apidsl`` through astyle.**