Run some elfvsb tests in cross mode

Andreas Schwab schwab@suse.de
Tue May 6 22:15:00 GMT 2003


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 ""
 



More information about the Binutils mailing list