зеркало из https://github.com/mozilla/pjs.git
Sisyphus updates - bug 386992, not part of the build.
This commit is contained in:
Родитель
106a47b80e
Коммит
95c457075a
|
@ -52,7 +52,7 @@ case $product in
|
|||
fi
|
||||
|
||||
case "$OSID" in
|
||||
mac*)
|
||||
mac)
|
||||
if [[ "$buildtype" == "debug" ]]; then
|
||||
if [[ "$product" == "firefox" ]]; then
|
||||
executablepath=$product-$buildtype/dist/FirefoxDebug.app/Contents/MacOS
|
||||
|
|
|
@ -148,7 +148,7 @@ if [[ $talkback -eq 1 ]]; then
|
|||
buildid=`dos2unix < master.ini | grep '^BuildID = "' | sed 's@BuildID = "\([^"]*\)"@\1@'`
|
||||
talkbackdir="$HOME/.fullcircle"
|
||||
;;
|
||||
mac* )
|
||||
mac)
|
||||
# hack around Mac's use of spaces in directory names
|
||||
vendorid=`grep '^VendorID = "' master.ini | sed 's@VendorID = "\([^"]*\)"@\1@'`
|
||||
productid=`grep '^ProductID = "' master.ini | sed 's@ProductID = "\([^"]*\)"@\1@'`
|
||||
|
@ -172,7 +172,7 @@ if [[ $talkback -eq 1 ]]; then
|
|||
win32)
|
||||
talkbackinidir="$talkbackdir/$vendorid/$productid/$platformid/$buildid"
|
||||
;;
|
||||
linux | mac* )
|
||||
linux | mac )
|
||||
talkbackinidir="$talkbackdir/$vendorid$productid$platformid$buildid"
|
||||
;;
|
||||
esac
|
||||
|
@ -192,7 +192,7 @@ if [[ $talkback -eq 1 ]]; then
|
|||
linux )
|
||||
sed -i.bak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini
|
||||
;;
|
||||
mac* )
|
||||
mac )
|
||||
sed -i.bak "s@URLEditControl .*@URLEditControl = \"mozqa:$talkbackid\"@" Talkback.ini
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -127,7 +127,7 @@ else
|
|||
fi
|
||||
;;
|
||||
|
||||
mac*)
|
||||
mac)
|
||||
# answer license prompt
|
||||
result=`${TEST_BIN}/hdiutil-expect.ex $filename`
|
||||
# now get the volume data
|
||||
|
|
|
@ -153,7 +153,7 @@ if [[ -z "$LIBRARYSH" ]]; then
|
|||
# cvs builds on mac os x.
|
||||
get_executable_name="$get_executable_product${EXE_EXT}"
|
||||
case "$OSID" in
|
||||
mac*)
|
||||
mac)
|
||||
get_executable_filter="Contents/MacOS/$get_executable_product"
|
||||
if [[ "$get_executable_product" == "thunderbird" ]]; then
|
||||
get_executable_name="$get_executable_product-bin"
|
||||
|
@ -199,7 +199,7 @@ if [[ -z "$LIBRARYSH" ]]; then
|
|||
OSID=linux
|
||||
EXE_EXT=
|
||||
elif echo $OSTYPE | grep -iq darwin; then
|
||||
OSID=mac`uname -p`
|
||||
OSID=mac
|
||||
EXE_EXT=
|
||||
else
|
||||
error "Unknown OS $OSTYPE"
|
||||
|
|
|
@ -204,7 +204,7 @@ if [[ -n "$buildcommands" ]]; then
|
|||
fi
|
||||
|
||||
case "$OSID" in
|
||||
mac*)
|
||||
mac)
|
||||
if [[ "$product" == "firefox" ]]; then
|
||||
App=Firefox
|
||||
elif [[ "$product" == "thunderbird" ]]; then
|
||||
|
|
|
@ -78,8 +78,8 @@ while getopts $options optname ;
|
|||
t)
|
||||
testscript="$OPTARG"
|
||||
if echo $testscript | grep -iq ' ' ; then
|
||||
testargs=`echo $testscript | sed 's|\([^ ]*\) \+\(.*\)|\2|'`
|
||||
testscript=`echo $testscript | sed 's|\( .*\)||'`
|
||||
testargs=`echo $testscript | sed 's|^\([^ ]*\)[ ]*\(.*\)|\2|'`
|
||||
testscript=`echo $testscript | sed 's|^\([^ ]*\)[ ]*.*|\1|'`
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -89,7 +89,12 @@ try:
|
|||
signal.alarm(0) # Cancel the alarm
|
||||
stoptime = time.time()
|
||||
elapsedtime = stoptime - starttime
|
||||
if os.WIFEXITED(status):
|
||||
# it appears that linux at least will on "occasion" return a status
|
||||
# when the process was terminated by a signal, so test signal first.
|
||||
if os.WIFSIGNALED(status):
|
||||
print "%s EXIT STATUS: CRASHED signal %d (%f seconds)" % (prefix, os.WTERMSIG(status), elapsedtime)
|
||||
sys.exit(exitSignal)
|
||||
elif os.WIFEXITED(status):
|
||||
rc = os.WEXITSTATUS(status)
|
||||
msg = ''
|
||||
if rc == 0:
|
||||
|
@ -103,9 +108,6 @@ try:
|
|||
|
||||
print "%s EXIT STATUS: %s (%f seconds)" % (prefix, msg, elapsedtime)
|
||||
sys.exit(rc)
|
||||
elif os.WIFSIGNALED(status):
|
||||
print "%s EXIT STATUS: CRASHED signal %d (%f seconds)" % (prefix, os.WTERMSIG(status), elapsedtime)
|
||||
sys.exit(exitSignal)
|
||||
else:
|
||||
print "%s EXIT STATUS: NONE (%f seconds)" % (prefix, elapsedtime)
|
||||
sys.exit(0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче