Fix PR3304
[oota-llvm.git] / test / Makefile
index 391776bb4dfa41395fb6a7f3aeab5bf6da3d5117..b6067c372fae438bb0f3e0dacfa6889f3790abfc 100644 (file)
@@ -7,8 +7,8 @@
 # 
 #===------------------------------------------------------------------------===#
 
-LEVEL  = ..
-DIRS   
+LEVEL = ..
+DIRS  = 
 
 #
 # Make Dejagnu the default for testing
@@ -55,7 +55,7 @@ check-local:: site.exp
          $(RUNTEST) $(RUNTESTFLAGS) )
 else
 check-local:: site.exp
-       @echo "*** dejagnu not found.  Make sure runtest is in your PATH, then reconfigure llvm."
+       @echo "*** dejagnu not found.  Make sure 'runtest' is in your PATH, then reconfigure LLVM."
 endif
 
 ifdef TESTONE
@@ -110,6 +110,8 @@ site.exp: FORCE
        @echo 'set shlibext "$(SHLIBEXT)"' >> site.tmp
        @echo 'set ocamlc "$(OCAMLC) -cc $(CXX) -I $(LibDir)/ocaml"' >> site.tmp
        @echo 'set valgrind "$(VALGRIND)"' >> site.tmp
+       @echo 'set grep "$(GREP)"' >>site.tmp
+       @echo 'set gas "$(GAS)"' >>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