Skip to content

Instantly share code, notes, and snippets.

@swistak35
Created January 6, 2016 11:22
Show Gist options
  • Save swistak35/17399068fa1415955ac2 to your computer and use it in GitHub Desktop.
Save swistak35/17399068fa1415955ac2 to your computer and use it in GitHub Desktop.
#!/bin/sh
DIR=examples/CPS
echo "=== Compiling..."
make
if [ $? -ne 0 ]
then
echo "Compilation failed."
fi
for file in $(ls $DIR)
do
echo "=== Running $file"
bin/semiML -require "transform:beta_expansion" -eval -internal-log-file dupalog "$DIR/$file" > /tmp/semiml_output
if [ $? -ne 0 ]
then
echo "=== Failed on '$file'."
cat /tmp/semiml_output
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment