aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis/test/track_status.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-26 14:48:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-26 14:48:40 +0300
commit790dfb6e0e771bbf03d75f6c5c15121597db7596 (patch)
tree4c31e8ab4e115655a9bf2bc893e75399ed6f7147 /.travis/test/track_status.sh
parentTravis: test.sh: -x (diff)
downloadvk-scripts-790dfb6e0e771bbf03d75f6c5c15121597db7596.tar.gz
vk-scripts-790dfb6e0e771bbf03d75f6c5c15121597db7596.zip
Travis: move test phases into separate scripts
Diffstat (limited to '')
-rwxr-xr-x.travis/test/track_status.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/.travis/test/track_status.sh b/.travis/test/track_status.sh
index 5102088..afdfea1 100755
--- a/.travis/test/track_status.sh
+++ b/.travis/test/track_status.sh
@@ -7,8 +7,6 @@
set -o errexit -o nounset -o pipefail
-readonly uid='egor.tensin'
-
track_status() {
local log_path
log_path="$( mktemp )"
@@ -24,7 +22,7 @@ track_status() {
trap "$rm_aux_files" RETURN
echo 'Running track_status.py...'
- python3 -m bin.track_status "$uid" --log "$log_path" --format csv --output "$db_path" &
+ python3 -m bin.track_status "$@" --log "$log_path" --format csv --output "$db_path" &
local pid="$!"
echo "Its PID is $pid"
@@ -44,7 +42,7 @@ track_status() {
}
main() {
- track_status
+ track_status egor.tensin
}
main "$@"