System.Data.SQLite
Check-in [5ded6de675]
Not logged in

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

Overview
Comment:Halt the testing process if the build directory cannot be verified by the test suite infrastructure.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5ded6de6752aeea724c92e821b34fbe9fd6f7c56
User & Date: mistachkin 2013-04-18 07:21:47
Context
2013-04-19
05:13
Final updates for the 1.0.85.0 release. check-in: 8f9b14afbb user: mistachkin tags: trunk, release, release-1.0.85.0
2013-04-18
20:54
Updates for release 1.0.85.0. Closed-Leaf check-in: bdd4f522b9 user: mistachkin tags: preRelease
07:21
Halt the testing process if the build directory cannot be verified by the test suite infrastructure. check-in: 5ded6de675 user: mistachkin tags: trunk
07:03
Use 'Win32' instead of 'x86' for the test platform name used by the test suite infrastructure. check-in: bdc97f7b5a user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/common.eagle.

  1755   1755   
  1756   1756               tryDeleteAssembly System.Data.SQLite.dll
  1757   1757               removeConstraint file_System.Data.SQLite.dll
  1758   1758   
  1759   1759               tryDeleteAssembly System.Data.SQLite.Linq.dll
  1760   1760               removeConstraint file_System.Data.SQLite.Linq.dll
  1761   1761             }
         1762  +
         1763  +          #
         1764  +          # NOTE: Skip trying to verify the build directory if we are so
         1765  +          #       instructed; otherwise, make sure it actually exists or
         1766  +          #       halt the entire testing process if it does not exist.
         1767  +          #
         1768  +          if {![info exists ::no(verifyBuildDirectory)]} then {
         1769  +            #
         1770  +            # NOTE: At this point, the build directory MUST exist as a
         1771  +            #       valid directory for the testing process to continue.
         1772  +            #
         1773  +            set directory [getBuildDirectory]
         1774  +
         1775  +            if {![file exists $directory] || \
         1776  +                ![file isdirectory $directory]} then {
         1777  +              #
         1778  +              # NOTE: Just prior to actually halting the testing process,
         1779  +              #       add an error to the test log file.
         1780  +              #
         1781  +              tputs $::test_channel [appendArgs \
         1782  +                  "---- could not verify build directory \"" $directory \
         1783  +                  "\", all testing halted\n"]
         1784  +
         1785  +              #
         1786  +              # NOTE: Raising a script error from this point should halt
         1787  +              #       the testing process.
         1788  +              #
         1789  +              error [appendArgs \
         1790  +                  "could not verify build directory \"" $directory \
         1791  +                  "\", all testing halted"]
         1792  +            }
         1793  +          }
  1762   1794   
  1763   1795             #
  1764   1796             # NOTE: Skip trying to copy any files if we are so instructed.
  1765   1797             #
  1766   1798             if {![info exists ::no(copySqliteFiles)]} then {
  1767   1799               tryCopyAssembly sqlite3.dll
  1768   1800               tryCopyAssembly SQLite.Interop.dll