[8/9] app/test-bbdev: python3 compatibility changes
Checks
Commit Message
use of the print function required for python3
compatibility.
Cc: Nicolas Chautru <nicolas.chautru@intel.com>
Signed-off-by: Louise Kilheeney <louise.kilheeney@intel.com>
---
app/test-bbdev/test-bbdev.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
@@ -3,6 +3,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
+from __future__ import print_function
import sys
import os
import argparse
@@ -12,7 +13,7 @@
from threading import Timer
def kill(process):
- print "ERROR: Test app timed out"
+ print("ERROR: Test app timed out")
process.kill()
if "RTE_SDK" in os.environ:
@@ -66,7 +67,7 @@ def kill(process):
args = parser.parse_args()
if not os.path.exists(args.testapp_path):
- print "No such file: " + args.testapp_path
+ print("No such file: " + args.testapp_path)
sys.exit(1)
params = [args.testapp_path]