Remove list_targets test

Tom de Vries <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
Hi,

this patch removes a test of proc list_targets in target.test. The proc 
was removed in this commit, so the test fails atm:
...
Mon Jul 21 14:30:01 1997  Bob Manson  <[email protected]>

         * lib/target.exp(list_targets): Deleted, no longer meaningful.
	(default_target_compile): Use warning instead of perror when
         download fails. Delete an existing a.out object file if we're
	running on a remote host.

         * lib/libgloss.exp(libgloss_ld): Deleted, not used.

         * config/dos.exp(dos_copy_download): If the local file doesn't
	exist, don't try to download it.

	* runtest.exp: Change tests for setting isremote board feature.
	We assume the board is remote unless the name is the same as
         the local hostname or we're defining the build board.
...

OK?

Thanks,
- Tom

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
0003-Remove-list_targets-test.patch (text/x-patch, 835 B)
Remove list_targets test

The proc list_targets was removed in commit
'Mon Jul 21 14:30:01 1997  Bob Manson  <[email protected]>'.

2017-06-03  Tom de Vries  <[email protected]>

	* testsuite/runtest.all/target.test: Remove list_targets test.

---
 testsuite/runtest.all/target.test | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/testsuite/runtest.all/target.test b/testsuite/runtest.all/target.test
index fb30e35..b249e71 100644
--- a/testsuite/runtest.all/target.test
+++ b/testsuite/runtest.all/target.test
@@ -68,13 +68,6 @@ set target_info(mvme,baud)      "9600"
 
 set timeout 100
 
-# test list_target
-
-if { [list_targets] == "idp mvme" } {
-    puts "PASSED: list_targets"
-} else {
-    puts "FAILED: list_targets"
-}
 push_config target idp
 set matches 0
 if { $target_info(target,name) == "idp" } {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.