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.
This commit is contained in:
parent
c8ad56a37f
commit
2fd1a0c45b
@ -51,7 +51,7 @@ sub run ($$$$$) {
|
|||||||
print "ok $nr $test\n";
|
print "ok $nr $test\n";
|
||||||
}
|
}
|
||||||
elsif ($st == 256) {
|
elsif ($st == 256) {
|
||||||
print "ok $nr $test # SKIP nonexistent combination\n";
|
print "not ok $nr $test # invalid combination\n";
|
||||||
}
|
}
|
||||||
elsif ($st == 512) {
|
elsif ($st == 512) {
|
||||||
print "not ok $nr $test # value mismatch\n";
|
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;
|
my $count = @accesses * @types * @sizes * @postincs;
|
||||||
|
|
||||||
|
# There's no register based post inc. for stores.
|
||||||
|
$count -= 12;
|
||||||
|
|
||||||
print "1..$count\n";
|
print "1..$count\n";
|
||||||
|
|
||||||
my $nr=0;
|
my $nr=0;
|
||||||
foreach $access (@accesses) {
|
foreach $access (@accesses) {
|
||||||
foreach $type (@types) {
|
foreach $postinc (@postincs) {
|
||||||
foreach $size (@sizes) {
|
$_ = "$access $postinc";
|
||||||
foreach $postinc (@postincs) {
|
if (! /Store.+RegPostInc/) {
|
||||||
run ++$nr, $access, $type, $size, $postinc;
|
foreach $type (@types) {
|
||||||
|
foreach $size (@sizes) {
|
||||||
|
run ++$nr, $access, $type, $size, $postinc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user