Menu

#1807 S51 - cygwin: unable to run regression tests for mcs51

closed-out-of-date
Simulator (20)
Simulator
5
2015-01-23
2011-07-11
BLRCalvin
No

Dear Developers,

Namaste.

I used snapshot #6613 to build SDCC for windows using CYGWIN.
SDCC : mcs51 3.0.4 #6613 (Jul 1 2011) (MINGW32)

I am unable to run the regression tests available in support/regression/tests using the simulator (s51) for mcs51 target under CYGWIN. When I run the command "make test-mcs51" from sdcc/support/regression, I get the following errors: (Same error msgs for all test cases)

gen/mcs51-small/bug-1292721/bug-1292721.out:1:--- FAIL: "timeout, simulation killed" in gen/mcs51-small/bug-1292721/bug-1292721.c
Failure:
(f: 1, t: 1, c: 1, b: 0, t: 0)
gen/mcs51-small/bug-1294691/bug-1294691.out:1:--- FAIL: "timeout, simulation killed" in gen/mcs51-small/bug-1294691/bug-1294691.c
Failure:
(f: 1, t: 1, c: 1, b: 0, t: 0)
gen/mcs51-small/bug-136564/bug-136564.out:1:--- FAIL: "timeout, simulation killed" in gen/mcs51-small/bug-136564/bug-136564.c
Failure:

However, regression tests are passing for host system.

The host details are: uname -m = i686 ; uname -r = 1.7.9(0.237/5/3); uname -s = CYGWIN_NT-6.1

Then, I increased the "timeout" from 30 to 300 in support/regression/ports/mcs51-common/spec.mk, but, the problem persists. So, I tried to run the simulator on the shell as below:

$s51 bug-751703.ihx
uCsim 0.5.4, Copyright (C) 1997 Daniel Drotos, Talker Bt.
......
1307 words read from bug-751703.ihx
0>r --------------> run
Can't select : 10093 -------------> This error message is displayed in an infinite loop.

"dis" & "s" commands seem to be working since disassembly info & stepping was possible. But, run command is issuing error.

Thanks,
Raghunath Lolur.

Discussion

  • Borut Ražem

    Borut Ražem - 2011-10-18

    Regression tests from the current svn HEAD run without problems on cygwin.

    >Can't select : 10093
    I'm not sure, but this might mean that ucsim is using TCP/IP port 10093. Is port 10093 used by some other program/service on your system?

    Borut

     
  • Borut Ražem

    Borut Ražem - 2011-10-18
    • milestone: --> unreproducable
    • assigned_to: nobody --> borutr
    • status: open --> pending-works-for-me
     
  • Philipp Klaus Krause

    • Category: --> Simulator
     
  • Philipp Klaus Krause

    • status: pending-works-for-me --> closed-out-of-date
     

Log in to post a comment.