From 30b9038fabf710f5172dd0c8d85d18afd0675498 Mon Sep 17 00:00:00 2001 From: Hector Date: Mon, 31 Aug 2020 10:28:20 -0700 Subject: Adds logging to create_virtualenv.sh script. Bug: None Test: Ran the script Change-Id: Ie285cf4de561b5ee22e7a46609dad8d216a181d1 --- tools/create_virtualenv.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/create_virtualenv.sh b/tools/create_virtualenv.sh index 3746ba2936..197282a306 100755 --- a/tools/create_virtualenv.sh +++ b/tools/create_virtualenv.sh @@ -10,8 +10,11 @@ fi virtualenv='/tmp/acts_preupload_virtualenv' -python3 -m virtualenv -p python3 $virtualenv +echo "preparing virtual env" > "${virtualenv}.log" +python3 -m virtualenv -p python3 $virtualenv &>> "${virtualenv}.log" cp -r acts/framework $virtualenv/ cd $virtualenv/framework -$virtualenv/bin/python3 setup.py develop +echo "installing acts in virtual env" >> "${virtualenv}.log" +$virtualenv/bin/python3 setup.py develop &>> "${virtualenv}.log" cd - +echo "done" >> "${virtualenv}.log" -- cgit v1.2.3