#!/bin/bash
scriptdir=`dirname "$BASH_SOURCE"`
if [[ "$OSTYPE" == "darwin"* ]]; then
libname=libSQLite.Interop.dylib
else
libname=libSQLite.Interop.so
fi
pushd "$scriptdir/.."
mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Debug; set test_year 2013; set build_directory {bin/2013/Debug/bin}; set interop_assembly_file_names $libname" -initialize -postInitialize "unset no(deleteSqliteImplicitNativeFiles); unset no(copySqliteImplicitNativeFiles)" -file Tests/all.eagle
popd