forked from OSchip/llvm-project
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
RUN: %cpp_compiler %S/SpamyTest.cpp -o %t-SpamyTest
|
|
|
|
RUN: %run %t-SpamyTest -runs=1 2>&1 | FileCheck %s --check-prefix=FD_MASK_0
|
|
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=0 2>&1 | FileCheck %s --check-prefix=FD_MASK_0
|
|
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=1 2>&1 | FileCheck %s --check-prefix=FD_MASK_1
|
|
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=2 2>&1 | FileCheck %s --check-prefix=FD_MASK_2
|
|
RUN: %run %t-SpamyTest -runs=1 -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=FD_MASK_3
|
|
|
|
FD_MASK_0-DAG: PRINTF_STDOUT
|
|
FD_MASK_0-DAG: PRINTF_STDERR
|
|
FD_MASK_0-DAG: STREAM_COUT
|
|
FD_MASK_0-DAG: STREAM_CERR
|
|
FD_MASK_0-DAG: INITED
|
|
|
|
FD_MASK_1-NOT: PRINTF_STDOUT
|
|
FD_MASK_1-DAG: PRINTF_STDERR
|
|
FD_MASK_1-NOT: STREAM_COUT
|
|
FD_MASK_1-DAG: STREAM_CERR
|
|
FD_MASK_1-DAG: INITED
|
|
|
|
FD_MASK_2-DAG: PRINTF_STDOUT
|
|
FD_MASK_2-DAG: STREAM_COUT
|
|
FD_MASK_2-DAG: INITED
|
|
FD_MASK_2-NOT: PRINTF_STDERR
|
|
FD_MASK_2-NOT: STREAM_CERR
|
|
|
|
FD_MASK_3-NOT: PRINTF_STDOUT
|
|
FD_MASK_3-NOT: PRINTF_STDERR
|
|
FD_MASK_3-NOT: STREAM_COUT
|
|
FD_MASK_3-NOT: STREAM_CERR
|
|
FD_MASK_3: INITED
|
|
|