NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/55650: atf-run crashes on parse error
The following reply was made to PR toolchain/55650; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/55650: atf-run crashes on parse error
Date: Thu, 10 Sep 2020 17:34:49 +0700
Date: Thu, 10 Sep 2020 05:25:00 +0000 (UTC)
From: roland.illig%gmx.de@localhost
Message-ID: <20200910052500.4D5B71A923B%mollari.NetBSD.org@localhost>
| terminate called after throwing an instance of 'tools::parser::parse_errors'
| what(): 1: Unexpected token `-s.'; expected eof, `;' or new line
| Abort trap (core dumped)
The most trivial of syntax errors in an ATF test file can cause
symptoms like that - the error might be almost anywhere in the file.
Look at whatever changed recently, and make sure there are no syntax
errors.
The problem is almost certainly nothing related to the invocation, and
probably not t_make itself (if it is, I'll find it in a few minutes when
I test my update to it - in that case I will fix it). It is more likely
related to one of the test programs it runs however.
Line number 1 might be line number 1 in almost anything (the first line of
any function just about).
And yes, I agree, ATF's reporting of things like this is poor, but there
is really only so much a sh script can do.
kre
Home |
Main Index |
Thread Index |
Old Index