Try to fix falining-positive test case 'simple_function_call_1.t'

This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-12 09:42:44 +02:00
parent 59f8b7c01a
commit 8b97531b71
1 changed files with 9 additions and 1 deletions

View File

@ -111,7 +111,15 @@ jobs:
- name: Simple function call
run: ./tlang typecheck source/tlang/testing/typecheck/simple_function_call.t
- name: Simple function call 1 (type mismatch)
run: ./source/tlang/testing/typecheck/simple_function_call_1.sh
run: |
set +e
./tlang typecheck source/tlang/testing/typecheck/simple_function_call_1.t
if [ $? = 255 ]
then
exit 0
else
exit 1
fi
- name: Simple array
run: ./tlang typecheck source/tlang/testing/typecheck/simple_array.t