On Wed, Oct 28, 2020 at 12:16:00PM -0500, Segher Boessenkool wrote: > On Wed, Oct 28, 2020 at 09:20:56PM +1030, Alan Modra wrote: > > Otherwise some versions of dejagnu go ahead and run the vsx tests > > below when they should not. To best cope with older dejagnu, put > > "run" before "compile", the idea being that if the second dg-do always > > wins then that won't cause fails. > > If they are mutually exclusive, does the order still matter? (Just FMI.)
Yes, it does. Older dejagnu takes the last action regardless of the target selector success. Newer dejagnu uses the last action of a line with a successful target selector. commit 569f8718b534a2cd9511a7d640352eb0126ff492 Author: Dominik Vogt <v...@linux.vnet.ibm.com> Date: Mon Mar 28 17:31:07 2016 +1100 * dg.exp (dg-do): Do not change the previously selected action if a de-selected dg-do is encountered. Signed-off-by: Ben Elliston <b...@gnu.org> -- Alan Modra Australia Development Lab, IBM