source: trunk/test/README @ 1822

Revision 480, 1.2 KB checked in by faa59, 7 years ago (diff)

Add doc and examples directories to install kit

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1*
2* This file is CVS only - README.tests is installed in /usr/local/nexus/tests
3*
4Both dynamic library versions (e.g. napi_test-hdf4) and
5static library versions (e.g. napi_test-hdf4-static) of the test
6programs are now build.
7
8Static Library Version
9----------------------
10
11The static version "napi_test-hdf4-static" is a real self contained
12executable and you can run it either directly or in a debugger with simply
13
14    gdb napi_test-hdf4-static
15
16Dynamic Library Version
17-----------------------
18
19"napi_test-hdf4" is not a real executable, but a shell script that
20invokes the real dynamic executable ".libs/napi_test-hdf4". Though
21you can run ".libs/napi_test-hdf4" directly you should be aware that
22it will then pick up whatever NeXus library is either currently in your
23LD_* environment variable paths or installed in a system shared library
24area (such as /usr/local/lib)
25
26To test the NeXus shared library you have just built you must use
27the shell script "napi_test-hdf4" which will set
28the correct environment before running ".libs/napi_test-hdf4"
29
30If you wish to run the program in a debugger you must use
31
32    libtool --mode=execute gdb napi_test-hdf4
33
34To check what shared libraries the program will load run
35
36    libtool --mode=execute ldd napi_test-hdf4
37
38$Id$
Note: See TracBrowser for help on using the repository browser.