[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl

Jeff Cohen jeffc at jolt-lang.org
Tue Apr 10 12:14:00 PDT 2007



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.69 -> 1.70
---
Log message:

Correctly report version of GCC used.

---
Diffs of the changes:  (+2 -0)

 NewNightlyTest.pl |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.69 llvm/utils/NewNightlyTest.pl:1.70
--- llvm/utils/NewNightlyTest.pl:1.69	Sat Apr  7 00:20:07 2007
+++ llvm/utils/NewNightlyTest.pl	Tue Apr 10 14:13:43 2007
@@ -1050,6 +1050,8 @@
 $gcc_version_long="";
 if ($GCCPATH ne "") {
 	$gcc_version_long = `$GCCPATH/gcc --version`;
+} elsif ($ENV{"CC"}) {
+	$gcc_version_long = `$ENV{"CC"} --version`;
 } else {
 	$gcc_version_long = `gcc --version`;
 }






More information about the llvm-commits mailing list