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

Indexes created Thu Nov 07 10:32:03 CST 2024