Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Test portability and readability tweaks. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9a848acf67971c565801263e631b540e |
User & Date: | mistachkin 2016-10-30 02:11:19.616 |
Context
2016-11-02
| ||
02:21 | Update to the official MSVC 2015 Update 3 (really post-update 3?). check-in: 4157b03a98 user: mistachkin tags: trunk | |
2016-10-31
| ||
01:23 | Merge updates from trunk. check-in: 09c590c144 user: mistachkin tags: tkt-1f7bfff467 | |
2016-10-30
| ||
02:11 | Test portability and readability tweaks. check-in: 9a848acf67 user: mistachkin tags: trunk | |
2016-10-29
| ||
23:58 | When testing on Mono, make sure to set the build year as various tests may rely upon it. check-in: fa057c02da user: mistachkin tags: trunk | |
Changes
Changes to Tests/basic.eagle.
︙ | ︙ | |||
1524 1525 1526 1527 1528 1529 1530 | BuildTempSchema $connection } -cleanup { cleanupDb $fileName freeDbConnection unset -nocomplain providerServices connection db fileName | | | 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 | BuildTempSchema $connection } -cleanup { cleanupDb $fileName freeDbConnection unset -nocomplain providerServices connection db fileName } -constraints {eagle command.object monoToDo SQLite System.Data.SQLite\ System.Data.SQLite.Linq} -result {}} ############################################################################### runTest {test data-1.30 {EF6 ISQLiteSchemaExtensions.BuildTempSchema} -setup { setupDb [set fileName data-1.30.db] } -body { |
︙ | ︙ | |||
1546 1547 1548 1549 1550 1551 1552 | BuildTempSchema $connection } -cleanup { cleanupDb $fileName freeDbConnection unset -nocomplain providerServices connection db fileName | | | 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 | BuildTempSchema $connection } -cleanup { cleanupDb $fileName freeDbConnection unset -nocomplain providerServices connection db fileName } -constraints {eagle command.object monoToDo SQLite System.Data.SQLite\ System.Data.SQLite.EF6} -result {}} ############################################################################### runTest {test data-1.31 {VARCHAR / NVARCHAR types with spaces} -body { list [object invoke -flags +NonPublic System.Data.SQLite.SQLiteConvert \ TypeNameToDbType null VARCHAR None] \ |
︙ | ︙ |
Changes to Tests/memory.eagle.
︙ | ︙ | |||
121 122 123 124 125 126 127 | freeDbConnection unset -nocomplain dataReader connection cleanupDb $fileName db true false false unset -nocomplain working sql counter db fileName | | | | > | 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | freeDbConnection unset -nocomplain dataReader connection cleanupDb $fileName db true false false unset -nocomplain working sql counter db fileName } -constraints \ {eagle command.object windows monoBug28 command.sql compile.DATA SQLite\ System.Data.SQLite fossil_repository_file variable_test_repository_file} \ -result {}} ############################################################################### # # NOTE: Report after test. # checkForSQLiteDirectories $test_channel |
︙ | ︙ |
Changes to Tests/tkt-d4728aecb7.eagle.
︙ | ︙ | |||
57 58 59 60 61 62 63 | set result } -cleanup { restoreEnvironmentVariables [list d472_1 d472_2 d472_3] savedEnv unset -nocomplain result } -isolationLevel AppDomain -constraints {eagle command.object\ | | > > > > > > > | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | set result } -cleanup { restoreEnvironmentVariables [list d472_1 d472_2 d472_3] savedEnv unset -nocomplain result } -isolationLevel AppDomain -constraints {eagle command.object\ compile.ISOLATED_INTERPRETERS System.Data.SQLite\ defineConstant.System.Data.SQLite.USE_INTEROP_DLL} -result [list [appendArgs \ prfx1/ $d472_binary_directory /sufx1] [appendArgs prfx2/ \ $d472_target_framework /sufx2] prfx3/%PreLoadSQLite_XmlConfigDirectory%/sufx3]} ############################################################################### # # HACK: This test relies (indirectly) upon the CodeBase property being set on # the assembly loaded via its bytes to the Eagle core library assembly # file name (i.e. because it is the calling assembly). This appears to # be non-portable and will not work on Mono. # runTest {test tkt-d4728aecb7-1.2 {tokens in XML configuration file} -setup \ [getAppDomainPreamble] -body { package require Eagle.Library package require Eagle.Test package require System.Data.SQLite.Test moveSystemDataSQLiteDllConfig false |
︙ | ︙ | |||
109 110 111 112 113 114 115 | set result } -cleanup { catch {file delete $fileName} unset -nocomplain result fileName moveSystemDataSQLiteDllConfig true | | | > | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | set result } -cleanup { catch {file delete $fileName} unset -nocomplain result fileName moveSystemDataSQLiteDllConfig true } -isolationLevel AppDomain -constraints {eagle command.object dotNet\ compile.ISOLATED_INTERPRETERS System.Data.SQLite\ defineConstant.System.Data.SQLite.USE_INTEROP_DLL} -result [list [appendArgs \ prfx1/ $d472_binary_directory /sufx1] [appendArgs prfx2/ \ $d472_target_framework /sufx2] [appendArgs prfx3/ $d472_binary_directory \ /sufx3]]} ############################################################################### unset -nocomplain d472_target_framework d472_binary_directory |
︙ | ︙ |