summaryrefslogtreecommitdiff
path: root/test_random.bash
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-05-20 18:33:40 +0300
committerOxore <oxore@protonmail.com>2023-05-20 18:33:40 +0300
commit25bf809a867720399cf12f8c0efec86eaeec26c5 (patch)
tree18abcb06422e3605e40bb8eed9d9bb716f66592e /test_random.bash
parent1a9089d41233b3b7b207e9a7e8553dc5b14e92ae (diff)
Impl marks referencing for PEA and NBCD
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