Ignore warning in another build script. (#23082)
authorSergey Andreenko <seandree@microsoft.com>
Thu, 7 Mar 2019 07:09:11 +0000 (23:09 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2019 07:09:11 +0000 (23:09 -0800)
tests/scripts/run-corefx-tests.py

index 21ca3c2..a4e691d 100644 (file)
@@ -377,6 +377,10 @@ def main(args):
     if not Is_windows:
         command += ' /p:TestWithLocalNativeLibraries=true'
 
+    if not Is_windows and (arch == 'arm' or arch == 'arm64'):
+        # It is needed under docker where LC_ALL is not configured.
+        command += ' --warnAsError false'
+
     # Run the corefx test build and run the tests themselves.
 
     log(command)