Hi all,
I am struggling hard to find a solution for the following problem(s):
- where should be the files installed (in proto area)
Let's suppose ROOT is set to
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386
Now what is the expected structure of files in $ROOT after 'make
install' completes in /local/workspaces/nc-tet.onnv-stc2/src/suites/net/nc ?
I have went through several CTI-TET based test suites in onnv-stc2
and it seems to suggest that the files should be installed right into
$ROOT, e.g. the list would look like this:
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/README
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/tet_scen
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/tests/dflag
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/tests/sflag
...
But looking into the proto area on the gate machine it seems it
should be rather
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/tests/nc/
- what is expected value of TET_SUITE_ROOT and SUITEDIR variables
Again, README files of the CTI-TET based test suites lead me to
believe that SUITEDIR should be 'net/nc'. In my case but this
contradicts with a way the Makefiles in SUNWstc-tetlite are constructed.
In particular, target 'install_suite' in
/opt/SUNWstc-tetlite/contrib/ctitools/Makefiles/Makefile.suite
Also, given the following configuration:
TET_SUITE_ROOT=/local/workspaces/nc-tet.onnv-stc2/src/suites/net
ROOT=/local/workspaces/nc-tet.onnv-stc2/proto/root_i386
all files are dumped straightly into ROOT (make install finishes
w/out a problem)
SUITEDIR=nc
then 'make package' fails with the following:
Merging in /tmp/pkginfodir.1207078686/pkginfo
PKG NAME: SUNWstc-nc
PKG PROTO: /local/workspaces/nc-tet.onnv-stc2/proto/root_i386/suites/nc
PKGARCHIVE: /local/workspaces/nc-tet.onnv-stc2/packages/i386
PKGDEFS: /local/workspaces/nc-tet.onnv-stc2/src/suites/net/nc/pkgdefs
Building package prototype file
sh: /local/workspaces/nc-tet.onnv-stc2/proto/root_i386/suites/nc: does
not exist
sh: /local/workspaces/nc-tet.onnv-stc2/proto/root_i386/suites/nc: does
not exist
Command failed: (cd
/local/workspaces/nc-tet.onnv-stc2/proto/root_i386/suites/nc; cat
/tmp/proto_files.1207078686 | pkgproto > /tmp/prototype1.1207078686)
Exited with status 1
Also, if PROTODIR is set in Targetdirs (or as environment variable)
it is simply ignored by Makefile.suites, target 'package'. Looks like a
bug to me.
The version of SUNWstc-tetlite on the system is 3.7,REV=06.26.07,23:50:44.
Any clues will be highly appreciated,
v.