bugSimulavr: an AVR simulator - Bugs: bug #41774, example.py uses bogus addresses...

 
 

bug #41774: example.py uses bogus addresses for comparision

Submitted by:  Stefan Brüns <stefanbruens>
Submitted on:  Tue 04 Mar 2014 09:37:28 PM UTC  
 
Category: Test SuiteSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Thomas K. <tomk>
Open/Closed: OpenComponent Version: simulavr

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 25 Oct 2014 05:03:10 PM UTC, comment #3:

Hi,

maybe a solution is, to read out the right addresses before with readelf.

cu, Thomas

Thomas K. <tomk>
Project AdministratorIn charge of this item.
Mon 06 Oct 2014 09:11:40 PM UTC, comment #2:

Hi Thomas,

will try to come up with something better ...

Stefan Brüns <stefanbruens>
Mon 06 Oct 2014 05:02:42 PM UTC, comment #1:

Hi,

you are right, it's really not a good example ... but a example. :-)

On one hand I want to show, what's possible. Especially how it could used in automated tests also for avr code. But on the other hand, FAIL is a failure!

Any ideas to make a better test szenario? Just to show possibilities but not to make it to complicated.

Or maybe write some better description in README and why it can happen to FAIL?

cu, Thomas

Thomas K. <tomk>
Project AdministratorIn charge of this item.
Tue 04 Mar 2014 09:37:28 PM UTC, original submission:

test4 and test6 lookup the address of two functions (main and timer2_ticks).

The address comparision in the assertion is completely bogus, as the code position depends on compiler version, optimization level ...

Stefan Brüns <stefanbruens>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tomk (Posted a comment)
  • -unavailable- added by stefanbruens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Oct 2014 05:03:10 PM UTCtomkAssigned toNone=>tomk

    Back to the top


    Powered by Savane 3.1-cleanup1