emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bisecting display bugs


From: Herring, Davis
Subject: Re: Bisecting display bugs
Date: Mon, 17 Apr 2017 13:13:39 +0000

>> +    src/emacs -Q -l "../reproduce-the-bug.el" || exit 125
>>
>> Wouldn't this exit with status 125 if "../reproduce-the-bug.el" exits
>> with status 1?
> 
> You're right, thanks; it seems this || exit 125 is superfluous.

The status 125 means "cannot be tested" (due to unrelated build failure or 
similar).  If you have a script that produces a meaningful exit code, then of 
course you don't want it.  It might be good to have the reproducer exit with 
some value other than EXIT_FAILURE==1 and have the script do something like

src/emacs -Q -l ../reproduce.el
if [ $? -eq 1 ]; then exit 125; else exit $?; done

so that other Emacs failures do register as "skip".

Davis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]