chore: Switch to this repository from predecessor

This commit is contained in:
Glen Whitney 2021-01-30 15:37:53 -08:00
parent 9ecfa63f58
commit 7b00b01856
23 changed files with 733 additions and 32 deletions

19
bin/generate_test_code Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
failed=0
for dir in tests/extracted/*; do
for file in $dir/*.fos; do
for language in Python Javascript Haskell; do
echo bin/fosgen -l ${language%.*} $file ...
bin/fosgen -l $language $file
if [[ $? -ne 0 ]]; then
echo ' ... Failed.'
((failed++))
fi
done
done
done
echo "Code generation completed with $failed failures."
exit $failed