background image
<< Command Line Tasks | Preparing an Options Header File >>
<< Command Line Tasks | Preparing an Options Header File >>

Component Testing

Command Line Interface
·
PATH must include an entry to $TESTRTDIR/bin/
<platform>
/
<os>
, where
<platform>
is the hardware platform and
<os>
is the current operating system.
You must also add the product installation bin directory to your PATH.
Note
Some command-line tools may require additional environment
variables. See the chapters dedicated to each command in the Reference
Manual section.
Automated Testing
If you are using Component Testing or System Testing features, the following
additional environment variables must be set:
·
ATUDIR for Component Testing, points to $TESTRTDIR/lib
·
ATS_DIR, for System Testing, points to $TESTRTDIR/bin/
<platfo m>
/
<os>
,
where
<platform>
is the hardware platform and
<os>
is the current operating
system.
r
f
f
Library Paths
UNIX platforms require the following additional environment variable:
·
On Solaris and Linux platforms: LD_LIBRARY_PATH points to
$TESTRTDIR/lib/
<plat orm>
/
<os>
·
On HP-UX platforms: SH_LIB points to $TESTRTDIR/lib/
<plat orm>
/
<os>
·
On AIX platforms: LIB_PATH points to $TESTRTDIR/lib/
<platform>
/
<os>
w
here
<platform>
is the hardware platform and
<os>
is the current operating
system.
Example
The following example shows how to set these variables for Test RealTime with a sh
shell on a Suse Linux system. The selected Target Deployment Port is
clinuxgnu
.
TESTRTDIR=/opt/Rational/TestRealTime.v2002R2
ATCDIR=$TESTRTDIR/bin/intel/linux_suse
ATUDIR=$TESTRTDIR/lib
ATS_DIR=$TESTRTDIR/bin/intel/linux_suse
ATLTGT=$TESTRTDIR/targets/clinuxgnu
ATUTGT=$TESTRTDIR/targets/clinuxgnu
LD_LIBRARY_PATH=$TESTRTDIR/lib/intel/linux_suse
PATH=$TESTRTDIR/bin/intel/linux_suse:$PATH
export TESTRTDIR
export ATCDIR
export ATUDIR
export ATS_DIR
export ATLTGT
export ATUTGT
export LD_LIBRARY_PATH
export PATH
325