From 2fd1a0c45becb94b02573647b349e6588b606c68 Mon Sep 17 00:00:00 2001 From: marcel Date: Thu, 27 Jan 2005 23:15:58 +0000 Subject: [PATCH] Skip the register based postinc stores here and don't count them in the number of tests. This way we avoid skipped tests for non- existent memory access combinations. The number of tests dropped from 60 to 48. --- tools/regression/ia64/unaligned/unaligned.t | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/regression/ia64/unaligned/unaligned.t b/tools/regression/ia64/unaligned/unaligned.t index 47bdd340175f..5d061bdef574 100644 --- a/tools/regression/ia64/unaligned/unaligned.t +++ b/tools/regression/ia64/unaligned/unaligned.t @@ -51,7 +51,7 @@ sub run ($$$$$) { print "ok $nr $test\n"; } elsif ($st == 256) { - print "ok $nr $test # SKIP nonexistent combination\n"; + print "not ok $nr $test # invalid combination\n"; } elsif ($st == 512) { print "not ok $nr $test # value mismatch\n"; @@ -74,14 +74,21 @@ if (`sysctl -n debug.unaligned_test` != "1") { } my $count = @accesses * @types * @sizes * @postincs; + +# There's no register based post inc. for stores. +$count -= 12; + print "1..$count\n"; my $nr=0; foreach $access (@accesses) { - foreach $type (@types) { - foreach $size (@sizes) { - foreach $postinc (@postincs) { - run ++$nr, $access, $type, $size, $postinc; + foreach $postinc (@postincs) { + $_ = "$access $postinc"; + if (! /Store.+RegPostInc/) { + foreach $type (@types) { + foreach $size (@sizes) { + run ++$nr, $access, $type, $size, $postinc; + } } } }