about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--test/Makefile4
-rw-r--r--test/regression/2007-08-16-invalid-constant-value.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 01def0f1..46d69d40 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -89,8 +89,8 @@ site.exp: Makefile $(LEVEL)/Makefile.config
 	@echo 'set compile_c "$(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c "' >>site.tmp
 	@echo 'set compile_cxx "$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) - c"' >> site.tmp
 	@echo 'set link "$(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) $(LD.Flags)"' >>site.tmp
-	@echo 'set llvmgcc "$(LLVMCC)"' >> site.tmp
-	@echo 'set llvmgxx "$(LLVMCXX)"' >> site.tmp
+	@echo 'set llvmgcc "$(LLVMCC) -I$(PROJ_SRC_ROOT)/include"' >> site.tmp
+	@echo 'set llvmgxx "$(LLVMCXX) -I$(PROJ_SRC_ROOT)/include"' >> site.tmp
 	@echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
 	@test ! -f site.exp || \
 	sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
diff --git a/test/regression/2007-08-16-invalid-constant-value.c b/test/regression/2007-08-16-invalid-constant-value.c
index ecb3283f..75f87fe4 100644
--- a/test/regression/2007-08-16-invalid-constant-value.c
+++ b/test/regression/2007-08-16-invalid-constant-value.c
@@ -1,6 +1,6 @@
 // RUN: rm -f %t4.out %t4.err %t4.log
 // RUN: %llvmgcc %s -emit-llvm -O2 -c -o %t1.bc
-// RUN: llvm-as -f ../../Feature/_utils._ll -o %t2.bc
+// RUN: llvm-as -f %p/../Feature/_utils._ll -o %t2.bc
 // RUN: llvm-ld -disable-opt %t1.bc %t2.bc -o %t3
 // RUN: %klee %t3.bc