summaryrefslogtreecommitdiff
path: root/test_random.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test_random.bash')
-rw-r--r--test_random.bash8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_random.bash b/test_random.bash
index 094dad1..daf5a5b 100644
--- a/test_random.bash
+++ b/test_random.bash
@@ -46,10 +46,18 @@ run_test_random() {
fi
}
+# Tiny tests are mostly for ensuring that bounds checking is working properly,
+# because it is more likely to encounter something that looks like a truncated
+# instruction.
+#
+# If there is an obvious bug, then it will most likely be detected
+# here and it is easier to dissect tiny test blob than huge test trying to debug
+# single test case.
for i in `seq 1 1000`; do
run_test_random tiny$i 1
done
+# Huge tests are for the broad coverage. They catch a lot!
for i in `seq 1 10`; do
run_test_random huge$i 1024
done