Menu

#2 tests that fail on MacOS/FreeBSD

1.0
open
nobody
None
2014-04-20
2013-06-06
Eric Radman
No

With only a couple tweaks the tests will run on FreeBSD 9.1 and MacOS 10.8, however two of them them fail:

20: test_kevent_signal_enable()
[test/signal.c:73]: kevent_cmp() failed:
  expected [ident=30, filter=-6, flags = 33 (EV_ADD EV_CLEAR), fflags = 0, data=1, udata=0x0]
  but got  [ident=30, filter=-6, flags = 33 (EV_ADD EV_CLEAR), fflags = 0, data=2, udata=0x0]
***** ERROR: Program received signal 6 *****

26: test_kevent_timer_dispatch()
[ident=4, filter=-7, flags = 160 (EV_CLEAR EV_DISPATCH), fflags = 0, data=1, udata=0x0]: Bad file descriptor
[test/timer.c:142]: Unexpected event: *** TEST FAILED ***

and three of them hang:

kevent_signal_enable()
kevent_signal_oneshot()
kevent_signal_modify()

Should we expect them to pass in a native environment? This is a very good success rate, so it seems that we're not very far from being able to use MacOS or FreeBSD to validate the test harness. I'll look into some of these failures.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.