Merge pull request #4 from jamesjer/master
test: use python 3 compatible print statements.
This commit is contained in:
commit
1bcddbf879
@ -16,13 +16,13 @@ env = Environment(
|
|||||||
conf = Configure(env);
|
conf = Configure(env);
|
||||||
|
|
||||||
if not conf.CheckCXX():
|
if not conf.CheckCXX():
|
||||||
print "c++ compiler is not installed!"
|
print("c++ compiler is not installed!")
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
libs = ['stdc++', 'pthread', 'gtest']
|
libs = ['stdc++', 'pthread', 'gtest']
|
||||||
for lib in libs:
|
for lib in libs:
|
||||||
if not conf.CheckLib(lib):
|
if not conf.CheckLib(lib):
|
||||||
print "library " + lib + " not installed!"
|
print("library " + lib + " not installed!")
|
||||||
Exit(1)
|
Exit(1)
|
||||||
|
|
||||||
conf.Finish()
|
conf.Finish()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user