From 637639c4c7c872bd8edc5c84d2c8857ee79d9c04 Mon Sep 17 00:00:00 2001 From: "Liping Mao (limao)" Date: Sat, 23 Sep 2017 19:04:18 +0800 Subject: [PATCH] Fix code coverage ci job File .testr.conf is still necessary for cover. It was removed in https://review.openstack.org/#/c/504342/ Change-Id: Idc56a09261e86109ee2fe716ffe5193e83854e0e Closes-Bug: #1719083 --- .testr.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .testr.conf diff --git a/.testr.conf b/.testr.conf new file mode 100644 index 00000000..22ff0ba6 --- /dev/null +++ b/.testr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./kuryr_libnetwork/tests/unit} $LISTOPT $IDOPTION | cat +test_id_option=--load-list $IDFILE +test_list_option=--list