diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-07 14:36:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-07 14:36:02 -0600 |
commit | 1c5e93117d6951dc65d4914ee8e9507af143d2b4 (patch) | |
tree | d0e1afe7d6b5cfba2221933e42ad9305f190003f /apps/examples/bas/tests/test43.bas | |
parent | 20c645e1cdf2456d09e3c85d2b21e4c32b88b83e (diff) | |
download | nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.tar.gz nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.tar.bz2 nuttx-1c5e93117d6951dc65d4914ee8e9507af143d2b4.zip |
BAS: Convert all BAS text scripts to BASIC files
Diffstat (limited to 'apps/examples/bas/tests/test43.bas')
-rw-r--r-- | apps/examples/bas/tests/test43.bas | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/apps/examples/bas/tests/test43.bas b/apps/examples/bas/tests/test43.bas index 56d993a0f..26ac0dd02 100644 --- a/apps/examples/bas/tests/test43.bas +++ b/apps/examples/bas/tests/test43.bas @@ -1,8 +1,3 @@ -#!/bin/sh - -echo -n $0: 'Matrix multiplication size checks... ' - -cat >test.bas <<eof DIM a(3,3),b(3,1),c(3,3) MAT READ a MAT READ b @@ -18,24 +13,4 @@ MAT READ a MAT READ b MAT c=a*b MAT PRINT c -eof - -cat >test.ref <<eof - 17 - 47 - 77 -Error: Dimension mismatch in line 14 at: -mat c=a*b - ^ -eof - -sh ./test/runbas test.bas >test.data -if cmp test.ref test.data -then - rm -f test.* - echo passed -else - echo failed - exit 1 -fi |