commit c21933644001ec721d602490a3a6392b73cba592
parent c38aca268244d3c7004d6987a63d5756df148209
Author: pranomostro <pranomestro@gmail.com>
Date: Thu, 15 Dec 2016 17:43:49 +0100
Make tests faster by not starting three different sessions after each other.
Diffstat:
5 files changed, 11 insertions(+), 27 deletions(-)
diff --git a/Makefile b/Makefile
@@ -65,6 +65,6 @@ clean:
check: all
@echo testing
- @cd tests; sh test-chat && sh test-file && sh test-request
+ @cd tests; sh test-ratox
.PHONY: all binlib bin install uninstall clean check
diff --git a/tests/test-chat b/tests/test-chat
@@ -1,9 +0,0 @@
-. ./common
-
-spawn_users
-add_friends
-send_text
-echo :: $(basename $0) - $(echolor 2 OK)
-
-cleanup
-exit 0
diff --git a/tests/test-file b/tests/test-file
@@ -1,9 +0,0 @@
-. ./common
-
-spawn_users
-add_friends
-send_file
-echo :: $(basename $0) - $(echolor 2 OK)
-
-cleanup
-exit 0
diff --git a/tests/test-ratox b/tests/test-ratox
@@ -0,0 +1,10 @@
+. ./common
+
+spawn_users
+add_friends
+send_text
+send_file
+echo :: $(basename $0) - $(echolor 2 OK)
+
+cleanup
+exit 0
diff --git a/tests/test-request b/tests/test-request
@@ -1,8 +0,0 @@
-. ./common
-
-spawn_users
-add_friends
-echo :: $(basename $0) - $(echolor 2 OK)
-
-cleanup
-exit 0