x86emul: re-order checks in test harness
authorJan Beulich <jbeulich@suse.com>
Mon, 18 Sep 2017 10:31:02 +0000 (12:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Sep 2017 10:31:02 +0000 (12:31 +0200)
commite25fc4cba8439c068a05f29531811cba71069837
tree794be4e402ecc615cf9ab9101c13efd41a469ab7
parenta46cf484716c2117d4defbb14c7d33c140c0ba51
x86emul: re-order checks in test harness

On older systems printing the "n/a" messages (resulting from the
compiler not being new enough to deal with some of the test code) isn't
very useful: If both CPU and compiler are too old for a certain test,
we can as well omit those messages, as those tests wouldn't be run even
if the compiler did produce code. (This has become obvious with the
3DNow! tests, which I had to run on an older system still supporting
those insns, and that system naturally also had an older compiler.)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/test_x86_emulator.c