System.Data.SQLite
Check-in [7c6f27738b]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make the shell scripts used to run the test suite on POSIX more flexible.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7c6f27738b9a66822ecceaca85cabc5f76468f36
User & Date: mistachkin 2018-02-20 12:19:09
Context
2018-02-20
12:28
Fix shell script changes from the previous check-in so that they actually work. check-in: 3d9a35d776 user: mistachkin tags: trunk
12:19
Make the shell scripts used to run the test suite on POSIX more flexible. check-in: 7c6f27738b user: mistachkin tags: trunk
12:18
Enhancements to test suite to improve detection of encrypted database support. check-in: c093917164 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Setup/run-mono-tests-debug.sh.

     3      3   scriptdir=`dirname "$BASH_SOURCE"`
     4      4   
     5      5   if [[ "$OSTYPE" == "darwin"* ]]; then
     6      6     libname=libSQLite.Interop.dylib
     7      7   else
     8      8     libname=libSQLite.Interop.so
     9      9   fi
           10  +
           11  +if [[ ! -z "$SQLITE_NET_YEAR" ]]; then
           12  +  SQLITE_NET_YEAR=2013
           13  +fi
    10     14   
    11     15   pushd "$scriptdir/.."
    12         -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
           16  +mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Debug; set test_year $SQLITE_NET_YEAR; set build_directory {bin/$SQLITE_NET_YEAR/Debug/bin}; set interop_assembly_file_names $libname" -initialize -postInitialize "unset no(deleteSqliteImplicitNativeFiles); unset no(copySqliteImplicitNativeFiles)" -file Tests/all.eagle "$@"
    13     17   popd

Changes to Setup/run-mono-tests-release.sh.

     3      3   scriptdir=`dirname "$BASH_SOURCE"`
     4      4   
     5      5   if [[ "$OSTYPE" == "darwin"* ]]; then
     6      6     libname=libSQLite.Interop.dylib
     7      7   else
     8      8     libname=libSQLite.Interop.so
     9      9   fi
           10  +
           11  +if [[ ! -z "$SQLITE_NET_YEAR" ]]; then
           12  +  SQLITE_NET_YEAR=2013
           13  +fi
    10     14   
    11     15   pushd "$scriptdir/.."
    12         -mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Release; set test_year 2013; set build_directory {bin/2013/Release/bin}; set interop_assembly_file_names $libname" -initialize -postInitialize "unset no(deleteSqliteImplicitNativeFiles); unset no(copySqliteImplicitNativeFiles)" -file Tests/all.eagle
           16  +mono Externals/Eagle/bin/EagleShell.exe -preInitialize "set root_path {$scriptdir/..}; set test_configuration Release; set test_year $SQLITE_NET_YEAR; set build_directory {bin/$SQLITE_NET_YEAR/Release/bin}; set interop_assembly_file_names $libname" -initialize -postInitialize "unset no(deleteSqliteImplicitNativeFiles); unset no(copySqliteImplicitNativeFiles)" -file Tests/all.eagle "$@"
    13     17   popd