Hi,
When testing installed libstdc++ library using the following command:
runtest --tool libstdc++ --srcdir
/home/jie/blackfin-sources/toolchain/trunk/gcc-4.1/libstdc++-v3/testsuite/
--target_board bfin-uclinux --target=bfin-uclinux
I found runtest couldn't find bfin-uclinux-gcc, instead it found -gcc.
In runtest.exp, the following code does not set target_alias as @target_triplet
#
# Default target_alias to target_triplet.
#
if {![info exists target_alias]} {
set target_alias $target_triplet
}
since at the beginning of runtest.exp, target_alias has been initialized as ""
set target_alias "" ;# standard abbreviation of target
With the attached patch, which removes the above line from
runtest.exp, I can test the installed libstdc++.
Is the patch OK, or I did something wrong in test setting?
Thanks,
Jie
2008-01-21 Jie Zhang <[EMAIL PROTECTED]>
* runtest.exp (target_alias): Don't initialize.
--- runtest.exp 2008-01-21 11:38:36.000000000 +0800
+++ runtest.exp.new 2008-01-21 11:39:00.000000000 +0800
@@ -85,7 +85,6 @@
set target_os "" ;# type of os the tests are running on
set target_vendor "" ;# vendor name of the OS or workstation the test are running on
set target_cpu "" ;# type of the cpu tests are running on
-set target_alias "" ;# standard abbreviation of target
set compiler_flags "" ;# the flags used by the compiler
#
_______________________________________________
DejaGnu mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dejagnu