This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Run some elfvsb tests in cross mode


The dump tests in elfvsb.exp do not depend on native executables, so
they can be run even when cross compiling.

Andreas.

2003-05-07  Andreas Schwab  <schwab@suse.de>

	* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
	compiling.

--- ld/testsuite/ld-elfvsb/elfvsb.exp.~1.16.~	2003-04-29 00:16:59.000000000 +0200
+++ ld/testsuite/ld-elfvsb/elfvsb.exp	2003-05-07 00:03:36.000000000 +0200
@@ -21,9 +21,6 @@
 
 # Make sure that ld can generate ELF shared libraries with visibility.
 
-# This test can only be run if ld generates native executables.
-if ![isnative] then {return}
-
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
 if { ![istarget hppa*64*-*-hpux*] \
@@ -53,6 +50,9 @@ foreach t $test_list {
     run_dump_test [file rootname $t]
 }
 
+# The remaining tests can only be run if ld generates native executables.
+if ![isnative] then {return}
+
 set tmpdir tmpdir
 set SHCFLAG ""
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]