A lot of changes to switch to the new name, might be horribly broken.

This commit is contained in:
storm
2024-10-17 09:20:24 -04:00
parent a523205ac2
commit b669e9b5ae
550 changed files with 143282 additions and 143282 deletions

View File

@ -4,8 +4,8 @@ useage()
{
echo './runone.sh keystroke_file.py [application_name] [0|1]'
echo 'application_name is the name of the application to run'
echo '0 = start and stop orca inside this shell script'
echo '1 = assume orca is already running'
echo '0 = start and stop cthulhu inside this shell script'
echo '1 = assume cthulhu is already running'
echo " " # for a blank line
echo 'See http://live.gnome.org/Orca/RegressionTesting for more info.'
@ -36,11 +36,11 @@ fi
debugFile=`basename $1 .py`
cp `dirname $0`/orca-customizations.py.in orca-customizations.py
cp `dirname $0`/cthulhu-customizations.py.in cthulhu-customizations.py
CUSTOMIZATIONS_FILE=`dirname $1`/$debugFile.customizations
if [ -f $CUSTOMIZATIONS_FILE ]
then
cat $CUSTOMIZATIONS_FILE >> orca-customizations.py
cat $CUSTOMIZATIONS_FILE >> cthulhu-customizations.py
fi
SETTINGS_FILE=`dirname $1`/$debugFile.settings
@ -73,14 +73,14 @@ ARGS=""
if [ -n "$3" ]
then
APP_NAME=$2
orcaRunning=$3
cthulhuRunning=$3
else
APP_NAME=gtk-demo
if [ -n "$2" ]
then
orcaRunning=$2
cthulhuRunning=$2
else
orcaRunning=0
cthulhuRunning=0
fi
fi
@ -125,9 +125,9 @@ then
ARGS="--working-directory=$TERMINAL_WORKING_DIR"
fi
if [ $orcaRunning -eq 0 ]
if [ $cthulhuRunning -eq 0 ]
then
$harnessDir/runorca.py --user-prefs `pwd` --debug-file $debugFile &
$harnessDir/runcthulhu.py --user-prefs `pwd` --debug-file $debugFile &
sleep 4
fi
@ -142,9 +142,9 @@ APP_PID=$!
#
python3 $1
if [ $orcaRunning -eq 0 ]
if [ $cthulhuRunning -eq 0 ]
then
pkill -9 orca > /dev/null 2>&1
pkill -9 cthulhu > /dev/null 2>&1
fi
# Terminate the running application