tests: don't use tmp as the default log dir with run.py 97/37197/5
authorNaveen Joy <najoy@cisco.com>
Tue, 20 Sep 2022 18:38:33 +0000 (11:38 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 11 Oct 2022 23:19:30 +0000 (23:19 +0000)
commit7498aadd23eb4d5be2891041c9153cc5dff1a6cc
tree603254241e8bb383fe1db3298137678ea06ec8aa
parent6531cf5d1cffab8690c42847eef4f00f3018bb70
tests: don't use tmp as the default log dir with run.py

The log file directory is configurable with run.py using the
--log-dir argument. This patch removes the use of /tmp as
the default dir for storing all test logs. The default
log dir is now set to show the year, month and day
of the test run. This provides a more meaningful aggregation
of test logs for effective troubleshooting. The default log
dir is set to <CWD>/test-run-YYYY-MM-DD.

Type: improvement
Change-Id: I6c9002e961f6e06fc953ca42d86febf4f218e566
Signed-off-by: Naveen Joy <najoy@cisco.com>
.gitignore
test/run.py