Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-01-29 20:30:53 +0300
committerChristopher Haster <chaster@utexas.edu>2018-01-30 03:37:48 +0300
commit6d8e0e21d0878c1aff22d2d826fc13d8faba77db (patch)
tree9cb1e67d9ee047c4e51eb6fcb54a7b378a8e741c /tests
parent88f678f4c6e33e6250e102cc87f51e8a358931bb (diff)
Moved -Werror flag to CI only
The most useful part of -Werror is preventing code from being merged that has warnings. However it is annoying for users who may have different compilers with different warnings. Limiting -Werror to CI only covers the main concern about warnings without limiting users.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test.py b/tests/test.py
index 0a5817d..e74bc3c 100755
--- a/tests/test.py
+++ b/tests/test.py
@@ -33,8 +33,7 @@ def generate(test):
pass
def compile():
- os.environ['CFLAGS'] = os.environ.get('CFLAGS', '') + ' -Werror'
- subprocess.check_call(['make', '--no-print-directory', '-s'], env=os.environ)
+ subprocess.check_call(['make', '--no-print-directory', '-s'])
def execute():
subprocess.check_call(["./lfs"])