also pep8-test the test script; restore pep8 for update.py
This commit is contained in:
parent
da02f8eeb1
commit
30c9d38842
@ -4,4 +4,5 @@ install:
|
||||
- sudo pip install pytest pep8
|
||||
script:
|
||||
- pep8 --ignore=E501 update.py
|
||||
- pep8 --ignore=E501 test/test.py
|
||||
- py.test -vv test/test.py
|
||||
|
@ -3,7 +3,6 @@ import subprocess
|
||||
|
||||
HERE = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
def exe(command):
|
||||
stdout, stderr = subprocess.Popen(command.split(),
|
||||
@ -11,7 +10,6 @@ def exe(command):
|
||||
stderr=subprocess.PIPE).communicate()
|
||||
return stdout, stderr
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
def test_cxx():
|
||||
os.chdir(os.path.join(HERE, 'cxx', 'cmake'))
|
||||
@ -25,7 +23,6 @@ def test_cxx():
|
||||
stdout, stderr = exe('./bin/example')
|
||||
assert 'Hello World!' in stdout
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
def test_fc():
|
||||
os.chdir(os.path.join(HERE, 'fc', 'cmake'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user