about summary refs log tree commit diff homepage
path: root/test/Feature/DefineFixedObject.c
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-01-13 17:38:08 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-01-20 14:46:52 +0000
commit6285c45683eacccf79ab7cffba75570cdb642570 (patch)
tree48b7b3c4301a38c2ffc47c725ca966fe7698fc8d /test/Feature/DefineFixedObject.c
parent025c906dd27d00f1cf4e930d138283d711483034 (diff)
downloadklee-6285c45683eacccf79ab7cffba75570cdb642570.tar.gz
Fixed tests where llvm-gcc was called without the -emit-llvm flag.
DejaGNU testing used to have this flag in its substitution variable
but for llvm-lit this has not been done.

I could replicate what DejaGNU did but by forcing developers to be
explicit when creating LLVM bitcode

* Remove test suite inconsistentcies. Some tests explictly use
  -emit-llvm
* Allows for tests to be written in the future that invoke
  the compiler as a native compiler
Diffstat (limited to 'test/Feature/DefineFixedObject.c')
-rw-r--r--test/Feature/DefineFixedObject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/DefineFixedObject.c b/test/Feature/DefineFixedObject.c
index 36822434..9f71f89b 100644
--- a/test/Feature/DefineFixedObject.c
+++ b/test/Feature/DefineFixedObject.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c -o %t1.bc %s
+// RUN: %llvmgcc -emit-llvm -c -o %t1.bc %s
 // RUN: %klee --exit-on-error %t1.bc
 
 #include <stdio.h>