System.Data.SQLite

Check-in [228b82e737]
Login

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

Overview
Comment:Testing and release management updates for the .NET Standard 2.0.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 228b82e73773f3166ea8c9ea44ca5c392460db38
User & Date: mistachkin 2018-07-26 00:28:49.192
Context
2018-07-26
01:35
Robustness and consistency enhancements for the test suite wrapper for .NET Standard 2.0. check-in: 99512edafb user: mistachkin tags: trunk
00:28
Testing and release management updates for the .NET Standard 2.0. check-in: 228b82e737 user: mistachkin tags: trunk
2018-07-24
08:18
In the test suite infrastructure, checks for managed binaries should not use the native directory. check-in: 11b5e68bc7 user: mistachkin tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to Setup/data/verify.lst.
418
419
420
421
422
423
424

425
426
427
428
429
430
431
  Setup/set_year_2015.bat
  Setup/set_year_2017.bat
  Setup/set_year_NetStandard20.bat
  Setup/sourceTag.eagle
  Setup/test.bat
  Setup/test_all.bat
  Setup/test_ce_200x.bat

  Setup/updateFileInfo.tcl
  Setup/verify.eagle
  Setup/vsSp.bat
  SQLite.Designer/
  SQLite.Designer/AssemblyInfo.cs
  SQLite.Designer/ChangePasswordDialog.cs
  SQLite.Designer/ChangePasswordDialog.Designer.cs







>







418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
  Setup/set_year_2015.bat
  Setup/set_year_2017.bat
  Setup/set_year_NetStandard20.bat
  Setup/sourceTag.eagle
  Setup/test.bat
  Setup/test_all.bat
  Setup/test_ce_200x.bat
  Setup/test_net_standard_20.bat
  Setup/updateFileInfo.tcl
  Setup/verify.eagle
  Setup/vsSp.bat
  SQLite.Designer/
  SQLite.Designer/AssemblyInfo.cs
  SQLite.Designer/ChangePasswordDialog.cs
  SQLite.Designer/ChangePasswordDialog.Designer.cs
1362
1363
1364
1365
1366
1367
1368


1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386


1387
1388
1389
1390
1391

1392
1393
1394
1395
1396

1397
1398
1399
1400
1401
1402
1403
  lib/net40/System.Data.SQLite.xml
  lib/net45/System.Data.SQLite.dll
  lib/net45/System.Data.SQLite.xml
  lib/net451/System.Data.SQLite.dll
  lib/net451/System.Data.SQLite.xml
  lib/net46/System.Data.SQLite.dll
  lib/net46/System.Data.SQLite.xml


}

###############################################################################
#
# NOTE: This is the list of all files that should be present in all core
#       NuGet packages that include the primary interop assemblies.
#
set sds_manifests(nuGetCoreNative) {
  build/net20/x64/SQLite.Interop.dll
  build/net20/x86/SQLite.Interop.dll
  build/net40/x64/SQLite.Interop.dll
  build/net40/x86/SQLite.Interop.dll
  build/net45/x64/SQLite.Interop.dll
  build/net45/x86/SQLite.Interop.dll
  build/net451/x64/SQLite.Interop.dll
  build/net451/x86/SQLite.Interop.dll
  build/net46/x64/SQLite.Interop.dll
  build/net46/x86/SQLite.Interop.dll


  build/net20/System.Data.SQLite.Core.targets
  build/net40/System.Data.SQLite.Core.targets
  build/net45/System.Data.SQLite.Core.targets
  build/net451/System.Data.SQLite.Core.targets
  build/net46/System.Data.SQLite.Core.targets

  lib/net20/System.Data.SQLite.dll.config
  lib/net40/System.Data.SQLite.dll.config
  lib/net45/System.Data.SQLite.dll.config
  lib/net451/System.Data.SQLite.dll.config
  lib/net46/System.Data.SQLite.dll.config

}

###############################################################################
#
# NOTE: This is the list of all files that should be present in all NuGet
#       packages that include support for the Entity Framework 6.x.
#







>
>


















>
>





>





>







1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
  lib/net40/System.Data.SQLite.xml
  lib/net45/System.Data.SQLite.dll
  lib/net45/System.Data.SQLite.xml
  lib/net451/System.Data.SQLite.dll
  lib/net451/System.Data.SQLite.xml
  lib/net46/System.Data.SQLite.dll
  lib/net46/System.Data.SQLite.xml
  lib/netstandard2.0/System.Data.SQLite.dll
  lib/netstandard2.0/System.Data.SQLite.xml
}

###############################################################################
#
# NOTE: This is the list of all files that should be present in all core
#       NuGet packages that include the primary interop assemblies.
#
set sds_manifests(nuGetCoreNative) {
  build/net20/x64/SQLite.Interop.dll
  build/net20/x86/SQLite.Interop.dll
  build/net40/x64/SQLite.Interop.dll
  build/net40/x86/SQLite.Interop.dll
  build/net45/x64/SQLite.Interop.dll
  build/net45/x86/SQLite.Interop.dll
  build/net451/x64/SQLite.Interop.dll
  build/net451/x86/SQLite.Interop.dll
  build/net46/x64/SQLite.Interop.dll
  build/net46/x86/SQLite.Interop.dll
  build/netstandard2.0/x64/SQLite.Interop.dll
  build/netstandard2.0/x86/SQLite.Interop.dll
  build/net20/System.Data.SQLite.Core.targets
  build/net40/System.Data.SQLite.Core.targets
  build/net45/System.Data.SQLite.Core.targets
  build/net451/System.Data.SQLite.Core.targets
  build/net46/System.Data.SQLite.Core.targets
  build/netstandard2.0/System.Data.SQLite.Core.targets
  lib/net20/System.Data.SQLite.dll.config
  lib/net40/System.Data.SQLite.dll.config
  lib/net45/System.Data.SQLite.dll.config
  lib/net451/System.Data.SQLite.dll.config
  lib/net46/System.Data.SQLite.dll.config
  lib/netstandard2.0/System.Data.SQLite.dll.config
}

###############################################################################
#
# NOTE: This is the list of all files that should be present in all NuGet
#       packages that include support for the Entity Framework 6.x.
#
Changes to Setup/test_all.bat.
91
92
93
94
95
96
97
98
99
100
101
102
103
104

105
106
107
108
109
110
111
%_VECHO% Platform = '%PLATFORM%'

IF NOT DEFINED YEARS (
  SET YEARS=2008
)

%_VECHO% Years = '%YEARS%'
%_VECHO% PreArgs = '%PREARGS%'

IF NOT DEFINED TEST_FILE (
  SET TEST_FILE=Tests\all.eagle
)

%_VECHO% TestFile = '%TEST_FILE%'

%_VECHO% PostArgs = '%POSTARGS%'

IF NOT DEFINED 32BITONLY (
  SET EAGLESHELL=EagleShell.exe
) ELSE (
  SET EAGLESHELL=EagleShell32.exe
)







<






>







91
92
93
94
95
96
97

98
99
100
101
102
103
104
105
106
107
108
109
110
111
%_VECHO% Platform = '%PLATFORM%'

IF NOT DEFINED YEARS (
  SET YEARS=2008
)

%_VECHO% Years = '%YEARS%'


IF NOT DEFINED TEST_FILE (
  SET TEST_FILE=Tests\all.eagle
)

%_VECHO% TestFile = '%TEST_FILE%'
%_VECHO% PreArgs = '%PREARGS%'
%_VECHO% PostArgs = '%POSTARGS%'

IF NOT DEFINED 32BITONLY (
  SET EAGLESHELL=EagleShell.exe
) ELSE (
  SET EAGLESHELL=EagleShell32.exe
)
287
288
289
290
291
292
293




294
295
296
297
298
299
300
  IF /I "%1" == "2013" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2015" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1




  )
  GOTO :EOF

:fn_UnsetVariable
  SETLOCAL
  SET VALUE=%1
  IF DEFINED VALUE (







>
>
>
>







287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
  IF /I "%1" == "2013" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2015" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  IF /I "%1" == "2017" (
    SET HAVE_LINQ=1
    SET HAVE_EF6=1
  )
  GOTO :EOF

:fn_UnsetVariable
  SETLOCAL
  SET VALUE=%1
  IF DEFINED VALUE (
Added Setup/test_net_standard_20.bat.




















































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
@ECHO OFF

::
:: test_net_standard_20.bat --
::
:: .NET Standard 2.0 Multiplexing Wrapper Tool for Unit Tests
::
:: Written by Joe Mistachkin.
:: Released to the public domain, use at your own risk!
::

SETLOCAL

REM SET __ECHO=ECHO
REM SET __ECHO2=ECHO
REM SET __ECHO3=ECHO
IF NOT DEFINED _AECHO (SET _AECHO=REM)
IF NOT DEFINED _CECHO (SET _CECHO=REM)
IF NOT DEFINED _VECHO (SET _VECHO=REM)

%_AECHO% Running %0 %*

SET DUMMY2=%1

IF DEFINED DUMMY2 (
  GOTO usage
)

REM SET DFLAGS=/L

%_VECHO% DFlags = '%DFLAGS%'

SET FFLAGS=/V /F /G /H /I /R /Y /Z

%_VECHO% FFlags = '%FFLAGS%'

SET ROOT=%~dp0\..
SET ROOT=%ROOT:\\=\%

%_VECHO% Root = '%ROOT%'

SET TOOLS=%~dp0
SET TOOLS=%TOOLS:~0,-1%

%_VECHO% Tools = '%TOOLS%'

CALL :fn_ResetErrorLevel

%__ECHO3% CALL "%TOOLS%\set_common.bat"

IF ERRORLEVEL 1 (
  ECHO Could not set common variables.
  GOTO errors
)

IF NOT DEFINED DOTNET (
  SET DOTNET=dotnet.exe
)

%_VECHO% DotNet = '%DOTNET%'

IF NOT DEFINED TEST_CONFIGURATIONS (
  SET TEST_CONFIGURATIONS=Release
)

%_VECHO% TestConfigurations = '%TEST_CONFIGURATIONS%'

IF NOT DEFINED YEARS (
  SET YEARS=NetStandard20
)

%_VECHO% Years = '%YEARS%'

IF NOT DEFINED NATIVE_YEARS (
  SET NATIVE_YEARS=2017 2015
)

%_VECHO% NativeYears = '%NATIVE_YEARS%'

IF NOT DEFINED TEST_FILE (
  SET TEST_FILE=Tests\all.eagle
)

%_VECHO% TestFile = '%TEST_FILE%'
%_VECHO% PreArgs = '%PREARGS%'
%_VECHO% PostArgs = '%POSTARGS%'

IF NOT DEFINED EAGLESHELL (
  SET EAGLESHELL=EagleShell.dll
)

%_VECHO% EagleShell = '%EAGLESHELL%'

CALL :fn_VerifyDotNetCore

%__ECHO2% PUSHD "%ROOT%"

IF ERRORLEVEL 1 (
  ECHO Could not change directory to "%ROOT%".
  GOTO errors
)

SET TEST_ALL=1

FOR %%C IN (%TEST_CONFIGURATIONS%) DO (
  FOR %%Y IN (%YEARS%) DO (
    FOR %%N IN (%NATIVE_YEARS%) DO (
      IF EXIST "bin\%%Y\%%C\bin" (
        IF EXIST "bin\%%N\%PLATFORM%\%%C" (
          %__ECHO% "%DOTNET%" exec "Externals\Eagle\bin\netStandard20\%EAGLESHELL%" %PREARGS% -anyInitialize "set test_year {%%Y}; set test_native_year {%%N}; set test_configuration {%%C}" -file "%TEST_FILE%" %POSTARGS%

          IF ERRORLEVEL 1 (
            ECHO Testing of "%%Y/%%N/%%C" .NET Standard 2.0 assembly failed.
            GOTO errors
          )
        ) ELSE (
          %_AECHO% Native directory "bin\%%N\%PLATFORM%\%%C" not found, skipped.
        )
      ) ELSE (
        %_AECHO% Managed directory "bin\%%Y\%%C\bin" not found, skipped.
      )
    )
  )
)

%__ECHO2% POPD

IF ERRORLEVEL 1 (
  ECHO Could not restore directory.
  GOTO errors
)

GOTO no_errors

:fn_VerifyDotNetCore
  FOR %%T IN (%DOTNET%) DO (
    SET %%T_PATH=%%~dp$PATH:T
  )
  IF NOT DEFINED %DOTNET%_PATH (
    ECHO The .NET Core executable "%DOTNET%" is required to be in the PATH.
    GOTO errors
  )
  GOTO :EOF

:fn_UnsetVariable
  SETLOCAL
  SET VALUE=%1
  IF DEFINED VALUE (
    SET VALUE=
    ENDLOCAL
    SET %VALUE%=
  ) ELSE (
    ENDLOCAL
  )
  CALL :fn_ResetErrorLevel
  GOTO :EOF

:fn_ResetErrorLevel
  VERIFY > NUL
  GOTO :EOF

:fn_SetErrorLevel
  VERIFY MAYBE 2> NUL
  GOTO :EOF

:usage
  ECHO.
  ECHO Usage: %~nx0
  GOTO errors

:errors
  CALL :fn_SetErrorLevel
  ENDLOCAL
  ECHO.
  ECHO Test failure, errors were encountered.
  GOTO end_of_file

:no_errors
  CALL :fn_ResetErrorLevel
  ENDLOCAL
  ECHO.
  ECHO Test success, no errors were encountered.
  GOTO end_of_file

:end_of_file
%__ECHO% EXIT /B %ERRORLEVEL%
Changes to www/release.wiki.
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following command to build all the binaries available for Windows
    CE:
    <br />
    <br />
    <b>SET BUILD_FULL=1</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_ce_200x.bat</b>
    <br />
    <br />
    <i>This assumes that Visual Studio 2005 and/or Visual Studio 2008,
    &quot;<b>Professional</b>&quot; edition or &quot;better&quot; and the
    bundled Pocket PC 2003 SDK are installed.</i>
  </li>

  <li>
    Enter the following command to build all the binaries available for Windows
    Embedded Compact 2013:
    <br />
    <br />
    <b>SET BUILD_FULL=1</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />







|
















|







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to build all the binaries available for Windows
    CE:
    <br />
    <br />
    <b>SET BUILD_FULL=1</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_ce_200x.bat</b>
    <br />
    <br />
    <i>This assumes that Visual Studio 2005 and/or Visual Studio 2008,
    &quot;<b>Professional</b>&quot; edition or &quot;better&quot; and the
    bundled Pocket PC 2003 SDK are installed.</i>
  </li>

  <li>
    Enter the following commands to build all the binaries available for Windows
    Embedded Compact 2013:
    <br />
    <br />
    <b>SET BUILD_FULL=1</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  </li>

  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following command to test all the binaries available for Windows
    CE:
    <br />
    <br />
    <b>SET TEST_DEBUG=1</b>
    <br />
    <b>test_ce_200x.bat</b>
  </li>







|







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  </li>

  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to test all the binaries available for Windows
    CE:
    <br />
    <br />
    <b>SET TEST_DEBUG=1</b>
    <br />
    <b>test_ce_200x.bat</b>
  </li>
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following command to build all the binaries available for Mono:
    <br />
    <br />
    <b>SET BUILD_FULL=</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_mono.bat</b>







|







214
215
216
217
218
219
220
221
222
223
224
225
226
227
228

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to build all the binaries available for Mono:
    <br />
    <br />
    <b>SET BUILD_FULL=</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_mono.bat</b>
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
























257
258
259
260
261
262
263

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following command to build all the binaries available for .NET
    Standard 2.0:
    <br />
    <br />
    <b>SET BUILD_FULL=</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_net_standard_20.bat</b>
  </li>

























  <li>
    Make sure everything succeeds with no errors; the console output may be
    checked if any errors should occur.
  </li>
</ol>

<a name="updateDocumentation"></a>







|










>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to build all the binaries available for .NET
    Standard 2.0:
    <br />
    <br />
    <b>SET BUILD_FULL=</b>
    <br />
    <b>SET BUILD_DEBUG=1</b>
    <br />
    <b>build_net_standard_20.bat</b>
  </li>

  <li>
    Make sure everything succeeds with no errors; the console output may be
    checked if any errors should occur.
  </li>
</ol>

<a name="testNetStandard20Binaries"></a>
<h2>Test .NET Standard 2.0 Binaries</h2>

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to test all the binaries available for .NET
    Standard 2.0:
    <br />
    <br />
    <b>SET TEST_DEBUG=1</b>
    <br />
    <b>test_net_standard_20.bat</b>
  </li>

  <li>
    Make sure everything succeeds with no errors; the console output may be
    checked if any errors should occur.
  </li>
</ol>

<a name="updateDocumentation"></a>
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following command to build the &quot;standard&quot; source
    release package:
    <br />
    <br />
    <b>SET ARCHIVE_FULL=</b>
    <br />
    <b>archive.bat</b>
  </li>

  <li>
    Enter the following command to build the &quot;full&quot; source
    release package:
    <br />
    <br />
    <b>SET ARCHIVE_FULL=1</b>
    <br />
    <b>archive.bat</b>
  </li>







|









|







514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538

<ol>
  <li>Open a normal command prompt window with &quot;cmd.exe&quot;.</li>

  <li>Change the current directory to &quot;&lt;root&gt;\Setup&quot;.</li>

  <li>
    Enter the following commands to build the &quot;standard&quot; source
    release package:
    <br />
    <br />
    <b>SET ARCHIVE_FULL=</b>
    <br />
    <b>archive.bat</b>
  </li>

  <li>
    Enter the following commands to build the &quot;full&quot; source
    release package:
    <br />
    <br />
    <b>SET ARCHIVE_FULL=1</b>
    <br />
    <b>archive.bat</b>
  </li>