loom
1#!/bin/bash
2
3# Тест работы отладчика SBL
4
5echo "Тест работы отладчика SBL ====================================" > test/tmp/test-interpret-simodo-script-debug.out6
7for file in test/source/simodo-script/debug/*.simodo-script8do
9echo "--- ${file} :" >> test/tmp/test-interpret-simodo-script-debug.out10cat ${file} >> test/tmp/test-interpret-simodo-script-debug.out11echo "--- interpret :" >> test/tmp/test-interpret-simodo-script-debug.out12bin/simodo-interpret -m math ${file} -d >> test/tmp/test-interpret-simodo-script-debug.out13done
14
15echo "Тест работы отладчика с точками останова =====================" >> test/tmp/test-interpret-simodo-script-debug.out16
17for file in test/source/simodo-script/debug/*.simodo-script18do
19echo "--- ${file} :" >> test/tmp/test-interpret-simodo-script-debug.out20cat ${file} >> test/tmp/test-interpret-simodo-script-debug.out21echo "--- interpret :" >> test/tmp/test-interpret-simodo-script-debug.out22bin/simodo-interpret -m math ${file} -b 7 -b primes. 11 -b asynch-01 12 >> test/tmp/test-interpret-simodo-script-debug.out23done
24
25exit 026