From 6285c45683eacccf79ab7cffba75570cdb642570 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Mon, 13 Jan 2014 17:38:08 +0000 Subject: 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 --- test/regression/2008-05-23-gep-with-global-const.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regression') diff --git a/test/regression/2008-05-23-gep-with-global-const.c b/test/regression/2008-05-23-gep-with-global-const.c index 5e03ec1d..3ad9b24e 100644 --- a/test/regression/2008-05-23-gep-with-global-const.c +++ b/test/regression/2008-05-23-gep-with-global-const.c @@ -1,4 +1,4 @@ -// RUN: %llvmgcc -O0 -c -o %t.bc %s +// RUN: %llvmgcc -emit-llvm -O0 -c -o %t.bc %s // RUN: %klee --exit-on-error %t.bc #include -- cgit 1.4.1