[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-symbolizer / flush-output.s
blob840f430feaf81033ac4cd72f1cda055abde8ca72
1 # REQUIRES: x86-registered-target
3 ## If a process spawns llvm-symbolizer, and wishes to feed it addresses one at a
4 ## time, llvm-symbolizer needs to flush its output after each input has been
5 ## processed or the parent process will not be able to read the output and may
6 ## deadlock. This test runs a script that simulates this situation for both a
7 ## a good and bad input.
9 foo:
10 nop
12 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -g
13 # RUN: %python %p/Inputs/flush-output.py llvm-symbolizer %t.o \
14 # RUN: | FileCheck %s
16 # CHECK: flush-output.s:10
17 # CHECK: bad