Check for feature support before generating testdata.
Move the data generation in the unit tests to after feature support have been confirmed. Signed-off-by:Jens Elofsson <jens.elofsson@arm.com> Approved-by:
Felix Johnny Thomasmathibalan <felixjohnny.thomasmathibalan@arm.com>