On Sat, Oct/06/2007 07:59:43PM, Jeff Squyres wrote:
> A few questions:
> 
> - what's your "pass" criteria?  Is it looking at wifexited and  
> wexitstatus?

I have this: 

  pass = &eq(&test_wexitstatus(), 0)

I'm guessing it should it be changed to this?

  pass = &and(&test_wifexited(), &eq(&test_wexitstatus(), 0))

> - what does solaris return as an exit code in this case?
> 
>

Looks like 137.

  $ cc -G -o libbar.so bar.c
  $ file libbar.so
  libbar.so:      ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ 
Required, dynamically linked, not stripped
  $ cc foo.c -L`pwd` -R`pwd` -lbar -o foo                                       
                                                     
  $ ldd foo
          libbar.so =>     /home/emallove/tmp/libbar.so
          ...
  $ ./foo
  $ echo $?
  0
  $ rm libbar.so
  $ ldd foo
          libbar.so =>     (file not found)
          ...
  $ ./foo
  ld.so.1: foo: fatal: libbar.so: open failed: No such file or directory
  Killed
  $ echo $?
  137

-Ethan


> On Sep 27, 2007, at 4:22 PM, Ethan Mallove wrote:
> 
> > Some trivial tests outputted the following:
> >
> >   ld.so.1: orterun: fatal: libopen-pal.so.0: open failed: No such  
> > file or directory
> >
> > See here:
> >
> >   http://www.open-mpi.org/mtt/index.php?do_redir=394
> >
> > How could these tests result in "pass"?
> >
> > I attached an mttdatabase debug file.
> >
> > -Ethan
> > <ld.so.1-errors-with-pass.txt>
> > _______________________________________________
> > mtt-users mailing list
> > mtt-us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
> 
> 
> -- 
> Jeff Squyres
> Cisco Systems
> 
> _______________________________________________
> mtt-users mailing list
> mtt-us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users

Reply via email to