From 1d349d0911a1bae6e1bdca57bc27d3c06ea23305 Mon Sep 17 00:00:00 2001 From: Flavio Fernandes Date: Wed, 18 May 2016 11:00:49 -0400 Subject: [PATCH] tests: Enable color output for unit tests, if available. Reference thread in mailing list: http://openvswitch.org/pipermail/discuss/2016-May/021339.html Signed-off-by: Flavio Fernandes Signed-off-by: Ben Pfaff --- tests/system-kmod-testsuite.at | 2 ++ tests/system-userspace-testsuite.at | 2 ++ tests/testsuite.at | 2 ++ 3 files changed, 6 insertions(+) diff --git a/tests/system-kmod-testsuite.at b/tests/system-kmod-testsuite.at index eebb5b0c7..fc71a4853 100644 --- a/tests/system-kmod-testsuite.at +++ b/tests/system-kmod-testsuite.at @@ -14,6 +14,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.]) +m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS]) + m4_include([tests/ovs-macros.at]) m4_include([tests/ovsdb-macros.at]) m4_include([tests/ofproto-macros.at]) diff --git a/tests/system-userspace-testsuite.at b/tests/system-userspace-testsuite.at index 239e6ea97..3e0325678 100644 --- a/tests/system-userspace-testsuite.at +++ b/tests/system-userspace-testsuite.at @@ -14,6 +14,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.]) +m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS]) + m4_include([tests/ovs-macros.at]) m4_include([tests/ovsdb-macros.at]) m4_include([tests/ofproto-macros.at]) diff --git a/tests/testsuite.at b/tests/testsuite.at index 7ac74df09..c2f8e6149 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -14,6 +14,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.]) +m4_ifdef([AT_COLOR_TESTS], [AT_COLOR_TESTS]) + m4_include([tests/ovs-macros.at]) m4_include([tests/ovsdb-macros.at]) m4_include([tests/ofproto-macros.at])