qlunits: remove word alignment test from sysvar test, as there are byte-sized vars, which are not aligned

git-svn-id: trunk@49395 -
This commit is contained in:
Károly Balogh 2021-05-22 11:51:22 +00:00
parent 94693e5f70
commit 7b03bac5d6

View File

@ -40,7 +40,7 @@ var
begin
actual_offset:=pbyte(test.sysvar)-pbyte(@system_vars);
writeln(test.name,' at: ',actual_offset,' $',hexstr(actual_offset,3));
check_sysvar_offset:=(actual_offset = align(actual_offset,2)) and (test.offset = actual_offset);
check_sysvar_offset:=(test.offset = actual_offset);
end;
function test_sysvar_offsets: boolean;