about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2017-01-14 18:49:18 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2017-01-14 21:37:29 +0000
commit6137888c07ab45bee354ff7b66f6f313ea158da8 (patch)
tree203228bb2225c422385512f70f948f74455fcffc /test
parent3c8cb4600392675a34f2505f630523a494844d3d (diff)
downloadklee-6137888c07ab45bee354ff7b66f6f313ea158da8.tar.gz
Fix bug reported privately by @danielschemmel .
If KLEE generates ktest files with `--posix-runtime` then if replaying
using libkleeRuntest then replay would be incorrect because the
`model_version` object would be unintentionally used during replay.

For now just skip over that object and try the next one.

Also emit a warning if the object names don't match.
Diffstat (limited to 'test')
-rw-r--r--test/Replay/libkleeruntest/replay_posix_runtime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Replay/libkleeruntest/replay_posix_runtime.c b/test/Replay/libkleeruntest/replay_posix_runtime.c
index 57f97dd0..70d8a1d9 100644
--- a/test/Replay/libkleeruntest/replay_posix_runtime.c
+++ b/test/Replay/libkleeruntest/replay_posix_runtime.c
@@ -1,6 +1,5 @@
 // REQUIRES: posix-runtime
 // FIXME: We need to fix a bug in libkleeRuntest
-// XFAIL: *
 // RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --posix-runtime --search=dfs %t.bc