loom
1#!/bin/bash
2
3# Тест работы интерпретатора SBL (простые алгоритмы и проверки)
4
5echo "Тест работы интерпретатора SBL ====================================" > test/tmp/test-interpret-simodo-script-probe.out6
7for file in test/source/engine/probe/*.s-script8do
9echo "--- ${file} :" >> test/tmp/test-interpret-simodo-script-probe.out10cat ${file} >> test/tmp/test-interpret-simodo-script-probe.out11echo "--- interpret :" >> test/tmp/test-interpret-simodo-script-probe.out12bin/simodo-interpret -m math ${file} >> test/tmp/test-interpret-simodo-script-probe.out13done
14
15echo "Тест работы анализатора SBL ====================================" >> test/tmp/test-interpret-simodo-script-probe.out16
17for file in test/source/engine/probe/*.s-script18do
19echo "--- ${file} :" >> test/tmp/test-interpret-simodo-script-probe.out20cat ${file} >> test/tmp/test-interpret-simodo-script-probe.out21echo "--- interpret :" >> test/tmp/test-interpret-simodo-script-probe.out22bin/simodo-interpret -m math ${file} -p a >> test/tmp/test-interpret-simodo-script-probe.out23done
24
25exit 026