38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 6ce448ad559446c2a6fa98ba642adbbe314207a1 Mon Sep 17 00:00:00 2001
|
|
From: li-miaomiao_zhr <mmlidc@isoftstone.com>
|
|
Date: Thu, 4 May 2023 15:33:36 +0800
|
|
Subject: [PATCH] fix problem of scons build of print
|
|
|
|
---
|
|
build/check.py | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/build/check.py b/build/check.py
|
|
index 2dacb4c..9dea409 100755
|
|
--- a/build/check.py
|
|
+++ b/build/check.py
|
|
@@ -52,16 +52,16 @@ if __name__ == '__main__':
|
|
|
|
# Find test responses and run them one by one
|
|
for case in glob.glob(testdir + "/testcases/*.response"):
|
|
- print "== Testing %s ==" % (case)
|
|
+ print ("== Testing %s ==" % (case))
|
|
try:
|
|
subprocess.check_call([SERF_RESPONSE_EXE, case])
|
|
except subprocess.CalledProcessError:
|
|
- print "ERROR: test case %s failed" % (case)
|
|
+ print ("ERROR: test case %s failed" % (case))
|
|
sys.exit(1)
|
|
|
|
- print "== Running the unit tests =="
|
|
+ print ("== Running the unit tests ==")
|
|
try:
|
|
subprocess.check_call(TEST_ALL_EXE)
|
|
except subprocess.CalledProcessError:
|
|
- print "ERROR: test(s) failed in test_all"
|
|
+ print ("ERROR: test(s) failed in test_all")
|
|
sys.exit(1)
|
|
--
|
|
2.27.0
|
|
|