[#6517] toolchain test fails to run after board description files change

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6517] toolchain test fails to run after board description files change

Submitted By: Mingquan Pan

Open Date

2011-03-31 04:49:16     Close Date

2011-04-06 03:44:37

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Fixed     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

head     kernel rev.:

State:

Closed     Found In Release:

2011R1

Is this bug repeatable?:

N/A     

Summary: toolchain test fails to run after board description files change

Details:

 

toolchain test fails to run after board description files change( checkin 5169).

 

Test Run By /home/test/work/cruise on Tue Feb  1 07:58:07 2011

Target is bfin-unknown-elf

Host   is i686-pc-linux-gnu

 

                === binutils tests ===

 

Schedule of variations:

    bfin-elf-sim

 

Running target bfin-elf-sim

ERROR: couldn't load description file for bfin-elf-sim

 

Follow-ups

 

--- Mike Frysinger                                           2011-03-31 19:55:18

can you post the exact command you're running ?  i tested all the targets

(especially the sim ones) to make sure they worked before i committed things.

 

--- Mingquan Pan                                             2011-03-31 22:30:02

Here we run the test by running command like following:

./toolchain-regtest -s /home/test/work/cruise/checkouts/toolchain -o

/opt/uClinux/bfin -b /home/test/temp0401 -t elf-sim  -a -L

 

Is there any param needed to change?

 

--- Mike Frysinger                                           2011-04-01 16:56:50

maybe you have old files in boards/ ?  it's working for me.

 

try cleaning out all your stuff:

rm -rf boards

svn up boards

 

--- Mingquan Pan                                             2011-04-01 23:24:23

We used to copy all the boards config files to the folder that is specific to

the current building instead of using the one in the source code. So once it

doesn't copy anymore , it looks it fails to find the right exp file.

 

--- Mingquan Pan                                             2011-04-01 23:38:58

In your testing log, which board description file is used?

 

If I add the sourece folder into the dejagnu config line, then it can go:

Using

/home/test/work/cruise/checkouts/toolchain/buildscript/boards//bfin-elf-sim.exp

as board description file for target

 

 

--- Mike Frysinger                                           2011-04-02 00:01:56

i dont understand ... you shouldnt need to mess with any boards exp files

anymore.  the toolchain-regtest script takes care of everything for you.

 

--- Mingquan Pan                                             2011-04-02 02:57:10

But on my suse test machine, it just doesn't handle the path issue as expected.

 

it just scan the following 4 path by default for the  board description file:

/home/test/temp/boards/44-bf548-toolchain

/usr/share/dejagnu/baseboards/44-bf548-toolchain /home/test/temp/boards

/usr/share/dejagnu/baseboards

 

It can't find the board description files under the source folders.

This is why we copy these files over to the build folder in the past I think.

 

--- Mike Frysinger                                           2011-04-02 03:15:41

ok, i see the problem.  should be fixed now by making sure the source dir is

always searched.

 

--- Mingquan Pan                                             2011-04-06 03:44:36

Yes,fixed. It can test now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes