commit | c9eafe81c97c32bb4b05a8151acd775bbf7ed45c | [log] [tgz] |
---|---|---|
author | Jim Tang <jimtang@google.com> | Fri Apr 07 23:59:23 2023 +0800 |
committer | Jim Tang <jimtang@google.com> | Mon Apr 10 11:09:11 2023 +0800 |
tree | 9234fc6cbae743c31f95d7a36345da41193ce888 | |
parent | baefe254d28512b3b8f9c0fcb5b04c3eed073b61 [diff] |
Do not create log dir when the results_dir is null The results_dir could be null is test_runner_handler.get_test_runner_reqs(), and results in generating $PWD/log whenever running atest command. This change fix the bug that it will only create log dir when results_dir is given. Bug: 275537997 Test: atest-dev hello_world_test --host # ensure no log dir in $PWD. Change-Id: I4e4fbb61845bfe6173a2476e031c2858bd3b48e2