• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2
3#
4# This is the scripts/ directory for rt-test.
5# It exports variables used during the tests.
6#
7#export TESTS_DIR=$(readlink -f $SCRIPTS_DIR/..)
8
9TESTSUITE_NAME=testcases/realtime
10if [ -z "$PARENT" ]; then
11    PARENT=${PWD%/$TESTSUITE_NAME*}
12fi
13
14export TESTS_DIR=$PARENT/$TESTSUITE_NAME
15# TEST_REL_DIR is used as a unique id for a test dir
16export TEST_REL_DIR=${PWD#$TESTS_DIR/}
17export SCRIPTS_DIR=$TESTS_DIR/scripts
18export PROFILES_DIR=$TESTS_DIR/profiles
19export LOG_DIR=$TESTS_DIR/logs
20export ARGUMENTS_INPUT_ERROR=25
21export LOG_FORMAT="`hostname -s`-`uname -m`-`uname -r`-`date +%F`"
22
23