summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-01-27 23:15:58 +0000
committermarcel <marcel@FreeBSD.org>2005-01-27 23:15:58 +0000
commit2fd1a0c45becb94b02573647b349e6588b606c68 (patch)
treebe2dac41e79d70015a0db5554ab9752a8a4d80a8 /tools/regression
parentc8ad56a37f143b5e763b7baa3f492edb03162e7d (diff)
downloadFreeBSD-src-2fd1a0c45becb94b02573647b349e6588b606c68.zip
FreeBSD-src-2fd1a0c45becb94b02573647b349e6588b606c68.tar.gz
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.
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/ia64/unaligned/unaligned.t17
1 files changed, 12 insertions, 5 deletions
diff --git a/tools/regression/ia64/unaligned/unaligned.t b/tools/regression/ia64/unaligned/unaligned.t
index 47bdd34..5d061bd 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;
+ }
}
}
}
OpenPOWER on IntegriCloud