xref: /aosp_15_r20/external/ltp/testcases/realtime/doc/run_auto.sh.tpl (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#! /bin/bash
2*49cdfc7eSAndroid Build Coastguard Worker
3*49cdfc7eSAndroid Build Coastguard Workerprofile=${1:-default}
4*49cdfc7eSAndroid Build Coastguard Worker
5*49cdfc7eSAndroid Build Coastguard Workercd $(dirname $0) # Move to test directory
6*49cdfc7eSAndroid Build Coastguard Workerif [ ! $SCRIPTS_DIR ]; then
7*49cdfc7eSAndroid Build Coastguard Worker        # assume we're running standalone
8*49cdfc7eSAndroid Build Coastguard Worker        export SCRIPTS_DIR=../../scripts/
9*49cdfc7eSAndroid Build Coastguard Workerfi
10*49cdfc7eSAndroid Build Coastguard Worker
11*49cdfc7eSAndroid Build Coastguard Workersource $SCRIPTS_DIR/setenv.sh
12*49cdfc7eSAndroid Build Coastguard Worker
13*49cdfc7eSAndroid Build Coastguard Worker# Warning: tests args are now set in profiles
14*49cdfc7eSAndroid Build Coastguard Worker
15*49cdfc7eSAndroid Build Coastguard Worker# Customize below. One line per test.
16*49cdfc7eSAndroid Build Coastguard Worker$SCRIPTS_DIR/run_c_files.sh $profile testexecutable1
17*49cdfc7eSAndroid Build Coastguard Worker# $SCRIPTS_DIR/run_c_files.sh $profile testexecutable2
18