tacker/tools/ostestr_compat_shim.sh
gong yong sheng 8bdccea2bb Collect test result reports
Fix the post_test_hook.sh and tox.ini to use right tox enviroment.
Post_test_hook.sh collects the result reports.

Change-Id: Ie60cd55521d89cb2e00f3ecff0fe3af989e0f6ea
Closes-bug: 1559861
2016-03-21 18:59:06 +08:00

9 lines
169 B
Bash
Executable File

#!/bin/sh
# preserve old behavior of using an arg as a regex when '--' is not present
case $@ in
(*--*) ostestr $@;;
('') ostestr;;
(*) ostestr --regex "$@"
esac