advanced-python-homework-2023/interpreters/test_full.sh

13 lines
310 B
Bash
Raw Normal View History

2023-10-06 13:14:14 +03:00
#!/bin/bash
interpreterCmd=$1;
interpreterTitle=$2;
2023-10-10 18:42:30 +03:00
TIMEFORMAT=%R
2023-10-06 13:14:14 +03:00
{
time $interpreterCmd test_full_with_types.py &&
time $interpreterCmd test_full_no_types.py &&
time $interpreterCmd test_full_np.py;
} 2> results/${interpreterTitle}_full.txt;
2023-10-10 18:42:30 +03:00
$interpreterCmd test_func_only.py $interpreterTitle;