mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 14:08:05 +02:00
* disable test on avr as it works only with table driven init/final code
git-svn-id: trunk@37605 -
This commit is contained in:
parent
ad01f059e8
commit
3352311124
@ -1,3 +1,9 @@
|
||||
{$ifdef CPUAVR}
|
||||
{ avr uses instruction based init/finalization of units: this does not work if an error happens during finalization,
|
||||
it results in an endless loop, so skip this test for avr }
|
||||
begin
|
||||
end.
|
||||
{$else CPUAVR}
|
||||
uses
|
||||
erroru,uunit1;
|
||||
|
||||
@ -5,3 +11,4 @@ begin
|
||||
if testvar<>1234567 then
|
||||
do_error(1000);
|
||||
end.
|
||||
{$endif CPUAVR}
|
Loading…
Reference in New Issue
Block a user