LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
    Date: Thu Mar 24 21:09:45 CET 2005
    Subject: [openrisc] [or1ksim #48] Fix test to expect the correct `return code'
    Top
    Hi,

    This fixes testbench/test to expect the correct `return code' from the tests.
    It now correctly reports wether a test passed or not.

    ChangeLog:
    * Fix test to expect the correct `return code'.

    nog.
    -------------- next part --------------
    diff -urp --unidirectional-new-file /home/nog/or1ksim-split/testbench/test ./testbench/test
    --- /home/nog/or1ksim-split/testbench/test 2002-04-26 14:26:01.000000000 +0200
    +++ ./testbench/test 2005-02-04 20:51:12.000000000 +0100
    @@ -40,7 +40,7 @@ fi

    # Last two lines should look like:
    echo "report(0xdeaddead);" >$temp1
    -echo "exit(0)" >>$temp1
    +echo "exit(00000000)" >>$temp1

    # run the simulator
    $1 $2 $sim_param 2>$temp4 >$temp2

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.