[ASan/Win tests] Remove the extra 'cat' in front of FileCheck now that it's clear we should use GnuWin32 rather than Cygwin on the PATH on Windows (see PR19744)

llvm-svn: 209622
This commit is contained in:
Timur Iskhodzhanov 2014-05-26 11:54:20 +00:00
parent effb876f4e
commit 9011eb81cf
42 changed files with 42 additions and 84 deletions

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <stdio.h>
#include <string.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <stdio.h>
#include <string.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <malloc.h>
extern "C" __declspec(dllexport)

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <process.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
extern "C" __declspec(dllexport)
int test_function() {

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
struct C {
int x;

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <sanitizer/asan_interface.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,7 +1,6 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t %t.dll 2>&1 | cat | FileCheck %s
// RUN: not %run %t %t.dll 2>&1 | FileCheck %s
#include <windows.h>
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>
#include <stdio.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>
#include <string.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>
#include <string.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>
#include <string.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
int main() {
char *buffer = new char[42];

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
struct C {
int x;

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t 2>&1 | cat | FileCheck %s
// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s
char *x;

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <windows.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
#include <malloc.h>

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
class Parent {
public:

View File

@ -1,6 +1,5 @@
// RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744.
// RUN: not %run %t 2>&1 | cat | FileCheck %s
// RUN: not %run %t 2>&1 | FileCheck %s
class Parent {
public: