diff options
author | Andrea Mattavelli <andreamattavelli@users.noreply.github.com> | 2017-03-06 08:01:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 08:01:18 +0000 |
commit | d2490908daee27974f8a03c8c7c80930d39f6098 (patch) | |
tree | 568961bf4867a316ddf6ed200876bca74afca0e6 /test/Feature/MemoryLimit.c | |
parent | 930cd1750857111e7cc08812e148cb228f70e1b8 (diff) | |
parent | abc44d16c3f8ae6984630537254bab2027cae2f5 (diff) | |
download | klee-d2490908daee27974f8a03c8c7c80930d39f6098.tar.gz |
Merge pull request #609 from ccadar/warnings
Added new option --warnings-only-to-file which causes warnings to be written to warnings.txt only.
Diffstat (limited to 'test/Feature/MemoryLimit.c')
-rw-r--r-- | test/Feature/MemoryLimit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/MemoryLimit.c b/test/Feature/MemoryLimit.c index fb9f2c86..ce4bc00f 100644 --- a/test/Feature/MemoryLimit.c +++ b/test/Feature/MemoryLimit.c @@ -4,17 +4,17 @@ // RUN: %llvmgcc -emit-llvm -DLITTLE_ALLOC -g -c %s -o %t.little.bc // RUN: rm -rf %t.klee-out -// RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.little.bc > %t.little.log 2> %t.little.err +// RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.little.bc > %t.little.log // RUN: not grep -q "MALLOC FAILED" %t.little.log // RUN: not grep -q "DONE" %t.little.log -// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.little.err +// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.klee-out/warnings.txt // RUN: %llvmgcc -emit-llvm -g -c %s -o %t.big.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --max-memory=20 %t.big.bc > %t.big.log 2> %t.big.err // RUN: not grep -q "MALLOC FAILED" %t.big.log // RUN: not grep -q "DONE" %t.big.log -// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.big.err +// RUN: grep "WARNING: killing 1 states (over memory cap)" %t.klee-out/warnings.txt #include <stdlib.h> #include <stdio.h> |