fix test execution on travis which was broken / unify running test locally and on travis
This commit is contained in:
parent
a2d170f415
commit
b74bccee0a
2
makefile
2
makefile
@ -48,7 +48,7 @@ test_server:
|
|||||||
# env TEST=Websocket_chat make test
|
# env TEST=Websocket_chat make test
|
||||||
# env TEST=heartbeat make test
|
# env TEST=heartbeat make test
|
||||||
test:
|
test:
|
||||||
(cd test ; python2.7 run.py)
|
python2.7 test/run.py
|
||||||
|
|
||||||
ws_test: all
|
ws_test: all
|
||||||
(cd ws ; bash test_ws.sh)
|
(cd ws ; bash test_ws.sh)
|
||||||
|
@ -482,4 +482,7 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
root = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
os.chdir(root)
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user