aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis/test/mutual_friends.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-05 16:22:51 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-06 00:10:11 +0300
commiteb4ba34ed3009ee5cec34ed83bab8149e4d6ffc4 (patch)
treeb8629a38f6378cc25cc309a0a9b39f0f8720c10a /.travis/test/mutual_friends.sh
parentStatusTracker: handle SIGTERM also (diff)
downloadvk-scripts-eb4ba34ed3009ee5cec34ed83bab8149e4d6ffc4.tar.gz
vk-scripts-eb4ba34ed3009ee5cec34ed83bab8149e4d6ffc4.zip
Travis: prettier output
Diffstat (limited to '.travis/test/mutual_friends.sh')
-rwxr-xr-x.travis/test/mutual_friends.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis/test/mutual_friends.sh b/.travis/test/mutual_friends.sh
index ebe0c17..ebecf8e 100755
--- a/.travis/test/mutual_friends.sh
+++ b/.travis/test/mutual_friends.sh
@@ -7,15 +7,13 @@
set -o errexit -o nounset -o pipefail
-mutual_friends() {
- echo 'Running mutual_friends.py --format csv...'
- python3 -m bin.mutual_friends --format csv "$@"
- echo 'Running mutual_friends.py --format json...'
- python3 -m bin.mutual_friends --format json "$@"
+test_users() {
+ ./.travis/test.sh bin.mutual_friends --format csv "$@"
+ ./.travis/test.sh bin.mutual_friends --format json "$@"
}
main() {
- mutual_friends kreed58 maxkorzh_official
+ test_users kreed58 maxkorzh_official
}
main "$@"