[Lldb-commits] [lldb] r348319 - [build.py] Disable tests on non-Windows.

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 5 03:03:09 PST 2018


On 05/12/2018 00:56, Zachary Turner via lldb-commits wrote:
> Author: zturner
> Date: Tue Dec  4 15:56:25 2018
> New Revision: 348319
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=348319&view=rev
> Log:
> [build.py] Disable tests on non-Windows.
> 
> This won't work until we get the GCC / clang builder implemented.
> 
> Modified:
>      lldb/trunk/lit/BuildScript/modes.test
>      lldb/trunk/lit/BuildScript/script-args.test
> 
> Modified: lldb/trunk/lit/BuildScript/modes.test
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/BuildScript/modes.test?rev=348319&r1=348318&r2=348319&view=diff
> ==============================================================================
> --- lldb/trunk/lit/BuildScript/modes.test (original)
> +++ lldb/trunk/lit/BuildScript/modes.test Tue Dec  4 15:56:25 2018
> @@ -1,3 +1,5 @@
> +REQUIRES: system-windows
> +
>   RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any -o %t/foo.out foobar.c \
>   RUN:    | FileCheck --check-prefix=COMPILE %s
>   
> 
> Modified: lldb/trunk/lit/BuildScript/script-args.test
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/BuildScript/script-args.test?rev=348319&r1=348318&r2=348319&view=diff
> ==============================================================================
> --- lldb/trunk/lit/BuildScript/script-args.test (original)
> +++ lldb/trunk/lit/BuildScript/script-args.test Tue Dec  4 15:56:25 2018
> @@ -1,3 +1,5 @@
> +REQUIRES: system-windows
> +
>   RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any -o %t/foo.out foobar.c \
>   RUN:    | FileCheck %s
>   RUN: %build -n --verbose --arch=32 --mode=compile --compiler=any --outdir %t foo.c bar.c \
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
> 

The toolchain-clang-cl.test fails for me too during printing of the 
execution environment for the compile commands. This happens because 
(unsurprisingly) we cannot find the VS installation, and the environment 
happens to be None.


Traceback (most recent call last):
   File "/home/pavelo/ll/lldb/lit/helper/build.py", line 723, in <module>
     build(cmds)
   File "/home/pavelo/ll/lldb/lit/helper/build.py", line 621, in build
     print_environment(env)
   File "/home/pavelo/ll/lldb/lit/helper/build.py", line 154, in 
print_environment
     for e in env:
TypeError: 'NoneType' object is not iterable



More information about the lldb-commits mailing list