ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

127 lines
2.3 KiB

  1. # Puropose: Verify existing BWBASIC behavior
  2. # Author: Howard Wulf
  3. # Date: 2014-03-28
  4. # Usage: implementatino defined
  5. # Example:
  6. # cd /sdcard/Download/BASIC/bwbasic3/SKYTEL
  7. # ash ./00test.sh
  8. #
  9. rm *.80
  10. rm *.OUT
  11. rm *.LPT
  12. rm *.dif
  13. # ----------------------------------------------
  14. # Regression Tests
  15. # ----------------------------------------------
  16. testcase()
  17. {
  18. TESTCASE=${1}
  19. echo "TESTCASE=${TESTCASE}"
  20. ~/bwbasic --tape ${TESTCASE}.INP --profile BYWATER.PRO --profile ${TESTCASE}.PRO ${TESTCASE}.BAS 1> ${TESTCASE}.OUT 2> ${TESTCASE}.LPT
  21. echo "500 DATA ${TESTCASE}.OUT, ${TESTCASE}.80" > PAD80.INP
  22. ~/bwbasic --profile BYWATER.PRO PAD80.BAS
  23. diff ${TESTCASE}.run ${TESTCASE}.80 > ${TESTCASE}.dif
  24. if test -s ${TESTCASE}.dif
  25. then
  26. echo less ${TESTCASE}.dif
  27. fi
  28. }
  29. # ---------------------------------------------
  30. #
  31. # various dialects of BASIC
  32. #
  33. echo "OPTION VERSION BYWATER" > BYWATER.PRO
  34. echo "OPTION LABELS OFF" >> BYWATER.PRO
  35. testcase addmag
  36. testcase altaz
  37. testcase altaz2
  38. testcase angsep
  39. testcase asteroid
  40. testcase binary
  41. testcase blkhole1
  42. testcase blkhole2
  43. testcase blkhole3
  44. testcase calendar
  45. testcase caljd
  46. testcase capture
  47. testcase ccdlimi2
  48. testcase ccdlimit
  49. testcase chance
  50. testcase chart
  51. testcase circle
  52. testcase comet
  53. testcase crater
  54. testcase daysold
  55. testcase dial
  56. testcase difpat
  57. testcase easter
  58. testcase extinc
  59. testcase facecirc
  60. testcase fireball
  61. testcase fracts
  62. testcase gflash
  63. testcase glob1
  64. testcase gmst
  65. testcase gwmonth
  66. testcase interp
  67. testcase jdcal
  68. testcase jmerid
  69. testcase kepler
  70. testcase lens
  71. testcase lheight
  72. testcase limmag
  73. testcase lookback
  74. testcase lookbak2
  75. testcase lunar
  76. testcase mallam
  77. testcase mars
  78. testcase meteor
  79. testcase moonfx
  80. testcase moons
  81. testcase moonup
  82. testcase msachart
  83. testcase obscur
  84. testcase occvis
  85. testcase orbits
  86. testcase path
  87. testcase period
  88. testcase photom
  89. testcase precess
  90. testcase refr1
  91. testcase rocket
  92. testcase rotate
  93. testcase saros
  94. testcase satrings
  95. testcase scales
  96. testcase shadow
  97. testcase shower
  98. testcase shuttr
  99. testcase solarecl
  100. testcase space
  101. testcase sphe
  102. testcase stay
  103. testcase steppr
  104. testcase stereo
  105. testcase sunshine
  106. testcase suntan
  107. testcase sunup
  108. testcase supernum
  109. testcase surf
  110. testcase taki
  111. testcase track
  112. testcase vislimit
  113. testcase wavel
  114. testcase xyz
  115. # ----------------------------------------------
  116. # EOF
  117. # ----------------------------------------------