This commit is contained in:
Radovan Bast 2015-06-28 19:38:57 +02:00
parent 01ddaa4be8
commit 6f592ba2f0
2 changed files with 5 additions and 6 deletions

View File

@ -5,4 +5,5 @@ install:
script:
- pep8 --ignore=E501 update.py
- pep8 --ignore=E501 test/test.py
- pep8 --ignore=E501 lib/config.py
- py.test -vv test/test.py

View File

@ -50,12 +50,10 @@ def run_cmake(command, build_path, default_build_path):
"""
topdir = os.getcwd()
os.chdir(build_path)
p = subprocess.Popen(
command,
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE
)
p = subprocess.Popen(command,
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE)
s = p.communicate()[0].decode('UTF-8')
# print cmake output to screen
print(s)