[compiler-rt] Disable some unittests on windows that rely on shell command
authorEtienne Bergeron <etienneb@google.com>
Thu, 21 Jul 2016 14:55:17 +0000 (14:55 +0000)
committerEtienne Bergeron <etienneb@google.com>
Thu, 21 Jul 2016 14:55:17 +0000 (14:55 +0000)
commitc6b096572e33fc64d2cc3c24ebce31d5da630be1
tree1d48f1b920cc85042fcb191f9c69dbf52c7ab634
parent88e0940d3bde4bf5c2a2997895830f4826174fd2
[compiler-rt] Disable some unittests on windows that rely on shell command

Summary:
These unittests are not running on windows because they are using incorrect commands.
They were not failing on 32-bits because there is a requirement: asan-64-bits.

```
$ "nm" "C:\src\llvm\ninja64\projects\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Output\no_asan_gen_globals.c.tmp.exe"
# command stderr:
'nm': command not found
error: command failed with exit status: 127
```

```
$ "rm" "-rf" "C:\src\llvm\ninja64\projects\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Output/coverage-tracing"
$ "mkdir" "C:\src\llvm\ninja64\projects\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Output/coverage-tracing"
$ "A=x"
# command stderr:
'A=x': command not found
error: command failed with exit status: 127
```

```
$ "DIR=C:\src\llvm\ninja64\projects\compiler-rt\test\asan\X86_64WindowsConfig\TestCases\Output/coverage-order-pcs"
# command stderr:
'DIR=C:\\src\\llvm\\ninja64\\projects\\compiler-rt\\test\\asan\\X86_64WindowsConfig\\TestCases\\Output/coverage-order-pcs': command not found
error: command failed with exit status: 127
```

Reviewers: rnk

Subscribers: tberghammer, llvm-commits, danalbert, wang0109, srhines, kubabrecka, chrisha

Differential Revision: https://reviews.llvm.org/D22612

llvm-svn: 276290
compiler-rt/test/asan/TestCases/Posix/no_asan_gen_globals.c [moved from compiler-rt/test/asan/TestCases/no_asan_gen_globals.c with 99% similarity]
compiler-rt/test/asan/TestCases/coverage-order-pcs.cc
compiler-rt/test/asan/TestCases/coverage-tracing.cc
compiler-rt/test/asan/TestCases/intra-object-overflow.cc