diff options
-rw-r--r-- | apps/mu.subx | 80 | ||||
-rwxr-xr-x | test_apps | 24 |
2 files changed, 52 insertions, 52 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 3574bfa2..489f2b70 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -897,7 +897,7 @@ test-convert-function-call-with-literal-arg: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-in-mem: +_failing-test-convert-function-with-local-var-in-mem: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -941,7 +941,7 @@ test-convert-function-with-local-var-in-mem: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-with-compound-type-in-mem: +_failing-test-convert-function-with-local-var-with-compound-type-in-mem: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -985,7 +985,7 @@ test-convert-function-with-local-var-with-compound-type-in-mem: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-in-reg: +_failing-test-convert-function-with-local-var-in-reg: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1030,7 +1030,7 @@ test-convert-function-with-local-var-in-reg: 5d/pop-to-ebp c3/return -test-convert-function-with-second-local-var-in-same-reg: +_failing-test-convert-function-with-second-local-var-in-same-reg: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1077,7 +1077,7 @@ test-convert-function-with-second-local-var-in-same-reg: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-dereferenced: +_failing-test-convert-function-with-local-var-dereferenced: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1122,7 +1122,7 @@ test-convert-function-with-local-var-dereferenced: 5d/pop-to-ebp c3/return -test-convert-compare-register-with-literal: +_failing-test-convert-compare-register-with-literal: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1167,7 +1167,7 @@ test-convert-compare-register-with-literal: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-in-block: +_failing-test-convert-function-with-local-var-in-block: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1217,7 +1217,7 @@ test-convert-function-with-local-var-in-block: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-in-named-block: +_failing-test-convert-function-with-local-var-in-named-block: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1267,7 +1267,7 @@ test-convert-function-with-local-var-in-named-block: 5d/pop-to-ebp c3/return -test-always-shadow-outermost-reg-vars-in-function: +_failing-test-always-shadow-outermost-reg-vars-in-function: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1361,7 +1361,7 @@ _pending-test-clobber-dead-local: 5d/pop-to-ebp c3/return -test-shadow-live-local: +_failing-test-shadow-live-local: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1416,7 +1416,7 @@ test-shadow-live-local: 5d/pop-to-ebp c3/return -test-shadow-live-output: +_failing-test-shadow-live-output: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1513,7 +1513,7 @@ _pending-test-local-clobbered-by-output: 5d/pop-to-ebp c3/return -test-convert-function-with-branches-in-block: +_failing-test-convert-function-with-branches-in-block: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1566,7 +1566,7 @@ test-convert-function-with-branches-in-block: 5d/pop-to-ebp c3/return -test-convert-function-with-branches-in-named-block: +_failing-test-convert-function-with-branches-in-named-block: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1619,7 +1619,7 @@ test-convert-function-with-branches-in-named-block: 5d/pop-to-ebp c3/return -test-convert-function-with-var-in-nested-block: +_failing-test-convert-function-with-var-in-nested-block: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1675,7 +1675,7 @@ test-convert-function-with-var-in-nested-block: 5d/pop-to-ebp c3/return -test-convert-function-with-multiple-vars-in-nested-blocks: +_failing-test-convert-function-with-multiple-vars-in-nested-blocks: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1735,7 +1735,7 @@ test-convert-function-with-multiple-vars-in-nested-blocks: 5d/pop-to-ebp c3/return -test-convert-function-with-branches-and-local-vars: +_failing-test-convert-function-with-branches-and-local-vars: # A conditional 'break' after a 'var' in a block is converted into a # nested block that performs all necessary cleanup before jumping. This # results in some ugly code duplication. @@ -1794,7 +1794,7 @@ test-convert-function-with-branches-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-conditional-loops-and-local-vars: +_failing-test-convert-function-with-conditional-loops-and-local-vars: # A conditional 'loop' after a 'var' in a block is converted into a nested # block that performs all necessary cleanup before jumping. This results # in some ugly code duplication. @@ -1853,7 +1853,7 @@ test-convert-function-with-conditional-loops-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-unconditional-loops-and-local-vars: +_failing-test-convert-function-with-unconditional-loops-and-local-vars: # An unconditional 'loop' after a 'var' in a block is emitted _after_ the # regular block cleanup. Any instructions after 'loop' are dead and # therefore skipped. @@ -1908,7 +1908,7 @@ test-convert-function-with-unconditional-loops-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-branches-and-loops-and-local-vars: +_failing-test-convert-function-with-branches-and-loops-and-local-vars: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -1966,7 +1966,7 @@ test-convert-function-with-branches-and-loops-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-nonlocal-branches-and-loops-and-local-vars: +_failing-test-convert-function-with-nonlocal-branches-and-loops-and-local-vars: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2034,7 +2034,7 @@ test-convert-function-with-nonlocal-branches-and-loops-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-nonlocal-unconditional-break-and-local-vars: +_failing-test-convert-function-with-nonlocal-unconditional-break-and-local-vars: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2095,7 +2095,7 @@ test-convert-function-with-nonlocal-unconditional-break-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-unconditional-break-and-local-vars: +_failing-test-convert-function-with-unconditional-break-and-local-vars: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2154,7 +2154,7 @@ test-convert-function-with-unconditional-break-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-nonlocal-unconditional-loop-and-local-vars: +_failing-test-convert-function-with-nonlocal-unconditional-loop-and-local-vars: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2215,7 +2215,7 @@ test-convert-function-with-nonlocal-unconditional-loop-and-local-vars: 5d/pop-to-ebp c3/return -test-convert-function-with-local-array-var-in-mem: +_failing-test-convert-function-with-local-array-var-in-mem: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2261,7 +2261,7 @@ test-convert-function-with-local-array-var-in-mem: 5d/pop-to-ebp c3/return -test-convert-address: +_failing-test-convert-address: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2307,7 +2307,7 @@ test-convert-address: 5d/pop-to-ebp c3/return -test-convert-length-of-array: +_failing-test-convert-length-of-array: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2352,7 +2352,7 @@ test-convert-length-of-array: 5d/pop-to-ebp c3/return -test-convert-length-of-array-on-stack: +_failing-test-convert-length-of-array-on-stack: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2400,7 +2400,7 @@ test-convert-length-of-array-on-stack: 5d/pop-to-ebp c3/return -test-convert-index-into-array: +_failing-test-convert-index-into-array: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2449,7 +2449,7 @@ test-convert-index-into-array: 5d/pop-to-ebp c3/return -test-convert-index-into-array-with-literal: +_failing-test-convert-index-into-array-with-literal: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2495,7 +2495,7 @@ test-convert-index-into-array-with-literal: 5d/pop-to-ebp c3/return -test-convert-index-into-array-on-stack: +_failing-test-convert-index-into-array-on-stack: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2550,7 +2550,7 @@ test-convert-index-into-array-on-stack: 5d/pop-to-ebp c3/return -test-convert-index-into-array-on-stack-with-literal: +_failing-test-convert-index-into-array-on-stack-with-literal: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2603,7 +2603,7 @@ test-convert-index-into-array-on-stack-with-literal: 5d/pop-to-ebp c3/return -test-convert-index-into-array-using-offset: +_failing-test-convert-index-into-array-using-offset: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2654,7 +2654,7 @@ test-convert-index-into-array-using-offset: 5d/pop-to-ebp c3/return -test-convert-index-into-array-using-offset-on-stack: +_failing-test-convert-index-into-array-using-offset-on-stack: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2706,7 +2706,7 @@ test-convert-index-into-array-using-offset-on-stack: 5d/pop-to-ebp c3/return -test-convert-function-and-type-definition: +_failing-test-convert-function-and-type-definition: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2759,7 +2759,7 @@ test-convert-function-and-type-definition: 5d/pop-to-ebp c3/return -test-convert-function-with-local-var-with-user-defined-type: +_failing-test-convert-function-with-local-var-with-user-defined-type: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2806,7 +2806,7 @@ test-convert-function-with-local-var-with-user-defined-type: 5d/pop-to-ebp c3/return -test-convert-function-call-with-arg-of-user-defined-type: +_failing-test-convert-function-call-with-arg-of-user-defined-type: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2868,7 +2868,7 @@ test-convert-function-call-with-arg-of-user-defined-type: 5d/pop-to-ebp c3/return -test-convert-function-call-with-arg-of-user-defined-type-register-indirect: +_failing-test-convert-function-call-with-arg-of-user-defined-type-register-indirect: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -2932,7 +2932,7 @@ test-convert-function-call-with-arg-of-user-defined-type-register-indirect: # we don't have special support for call-by-reference; just explicitly create # a new variable with the address of the arg -test-convert-function-call-with-arg-of-user-defined-type-by-reference: +_failing-test-convert-function-call-with-arg-of-user-defined-type-by-reference: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -3009,7 +3009,7 @@ test-convert-function-call-with-arg-of-user-defined-type-by-reference: 5d/pop-to-ebp c3/return -test-convert-get-of-type-on-stack: +_failing-test-convert-get-of-type-on-stack: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp @@ -3065,7 +3065,7 @@ test-convert-get-of-type-on-stack: 5d/pop-to-ebp c3/return -test-convert-array-of-user-defined-types: +_failing-test-convert-array-of-user-defined-types: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp diff --git a/test_apps b/test_apps index 6a637fcd..6cca4292 100755 --- a/test_apps +++ b/test_apps @@ -283,18 +283,18 @@ test `uname` = 'Linux' && { echo } -#? echo mu -#? cat init.$OS [0-9]*.subx apps/mu.subx | apps/braces | apps/calls | apps/sigils > a.sigils -#? ./bootstrap translate a.sigils -o apps/mu -#? [ "$1" != record ] && git diff --exit-code apps/mu -#? test $EMULATED && { -#? ./bootstrap run apps/mu test -#? echo -#? } -#? test `uname` = 'Linux' && { -#? apps/mu test -#? echo -#? } +echo mu +cat init.$OS [0-9]*.subx apps/mu.subx | apps/braces | apps/calls | apps/sigils > a.sigils +./bootstrap translate a.sigils -o apps/mu +[ "$1" != record ] && git diff --exit-code apps/mu +test $EMULATED && { + ./bootstrap run apps/mu test + echo +} +test `uname` = 'Linux' && { + apps/mu test + echo +} test $NATIVE || exit 0 echo "== translating using SubX (native only)" |