about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-06-12 00:13:34 -0700
committerKartik Agaram <vc@akkartik.com>2019-06-12 00:13:34 -0700
commit66bce436b328171cfbfa02c2e16dafc49343de08 (patch)
tree919fecbcee4cb53e20f33d054042f18a74153e6d /subx/apps
parentbf569a9f6c4b2e59dfe6aa30a9b01d8d77948aa1 (diff)
downloadmu-66bce436b328171cfbfa02c2e16dafc49343de08.tar.gz
.
Now that we don't have to edit code to run a single test, delete that
commented out fragment everywhere.
Diffstat (limited to 'subx/apps')
-rw-r--r--subx/apps/assort.subx5
-rw-r--r--subx/apps/crenshaw2-1.subx4
-rw-r--r--subx/apps/crenshaw2-1b.subx4
-rw-r--r--subx/apps/dquotes.subx5
-rw-r--r--subx/apps/factorial.subx4
-rw-r--r--subx/apps/hex.subx5
-rw-r--r--subx/apps/pack.subx5
-rw-r--r--subx/apps/survey.subx5
8 files changed, 0 insertions, 37 deletions
diff --git a/subx/apps/assort.subx b/subx/apps/assort.subx
index 8c5fd184..ab58fa3e 100644
--- a/subx/apps/assort.subx
+++ b/subx/apps/assort.subx
@@ -34,11 +34,6 @@ Entry:
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-    # for debugging: run a single test
-#?     e8/call test-convert/disp32
-#?     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/EBX   Num-test-failures/disp32          # copy *Num-test-failures to EBX
-#?     eb/jump  $main:end/disp8
-
     # run tests if necessary, convert stdin if not
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx
index 5ec2e829..0c3f180b 100644
--- a/subx/apps/crenshaw2-1.subx
+++ b/subx/apps/crenshaw2-1.subx
@@ -41,10 +41,6 @@ Entry:  # run tests if necessary, call 'compile' if not
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-#?     # for debugging: run a single test; don't bother setting status code
-#?     e8/call test-get-num-aborts-on-non-digit-in-Look/disp32
-#?     eb/jump  $main:end/disp8
-
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # - if argc > 1 and argv[1] == "test", then return run_tests()
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx
index 4f350cf4..e1bb6448 100644
--- a/subx/apps/crenshaw2-1b.subx
+++ b/subx/apps/crenshaw2-1b.subx
@@ -41,10 +41,6 @@ Entry:  # run tests if necessary, call 'compile' if not
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-#?     # for debugging: run a single test; don't bother setting status code
-#?     e8/call test-get-num-reads-single-digit/disp32
-#?     eb/jump  $main:end/disp8
-
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # - if argc > 1 and argv[1] == "test", then return run_tests()
diff --git a/subx/apps/dquotes.subx b/subx/apps/dquotes.subx
index db315665..87b808be 100644
--- a/subx/apps/dquotes.subx
+++ b/subx/apps/dquotes.subx
@@ -30,11 +30,6 @@ Entry:
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-    # for debugging: run a single test
-#?     e8/call  test-convert-processes-string-literals/disp32
-#?     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/EBX   Num-test-failures/disp32          # copy *Num-test-failures to EBX
-#?     eb/jump  $main:end/disp8
-
     # run tests if necessary, convert stdin if not
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index a9f88363..98efc6fa 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -29,10 +29,6 @@ Entry:  # run tests if necessary, compute `factorial(5)` if not
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-#?     # for debugging: run a single test; don't bother setting status code
-#?     e8/call test-get-num-reads-single-digit/disp32
-#?     eb/jump  $main:end/disp8
-
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # - if argc > 1 and argv[1] == "test", then return run_tests()
diff --git a/subx/apps/hex.subx b/subx/apps/hex.subx
index 6b82a1e9..a24c5a2e 100644
--- a/subx/apps/hex.subx
+++ b/subx/apps/hex.subx
@@ -28,11 +28,6 @@ Entry:  # run tests if necessary, convert stdin if not
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-#?     # for debugging: run a single test
-#?     e8/call test-convert-next-octet-aborts-on-single-hex-byte/disp32
-#?     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/EBX   Num-test-failures/disp32          # copy *Num-test-failures to EBX
-#?     eb/jump  $main:end/disp8
-
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # - if argc > 1 and argv[1] == "test", then return run_tests()
diff --git a/subx/apps/pack.subx b/subx/apps/pack.subx
index 0dd03fed..68d936f9 100644
--- a/subx/apps/pack.subx
+++ b/subx/apps/pack.subx
@@ -29,11 +29,6 @@ Entry:  # run tests if necessary, convert stdin if not
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
 
-    # for debugging: run a single test
-#?     e8/call test-emit-non-number-with-all-hex-digits-and-metadata/disp32
-#?     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/EBX   Num-test-failures/disp32          # copy *Num-test-failures to EBX
-#?     eb/jump  $main:end/disp8
-
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP
     # - if argc > 1 and argv[1] == "test", then return run_tests()
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index aa6e53c1..b6f94fff 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -54,11 +54,6 @@ Entry:
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               4/imm32           # add to ESP
 
-    # for debugging: run a single test
-#?     e8/call test-convert-computes-addresses/disp32
-#?     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           3/r32/EBX   Num-test-failures/disp32          # copy *Num-test-failures to EBX
-#?     eb/jump  $main:end/disp8
-
     # run tests if necessary, convert stdin if not
     # . prolog
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                 # copy ESP to EBP