Changes On Branch travis-win32-with-make
Not logged in

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

Changes In Branch travis-win32-with-make Excluding Merge-Ins

This is equivalent to a diff from 5f447ebfff to 7fc526d0e5

2019-09-25
11:54
(cherry-pick): Update TZ info to tzdata2019c. check-in: 0bcd8bc1db user: jan.nijtmans tags: core-8-5-branch
2019-09-21
23:32
Fix quoting in .travis.yml, add x86 variant of configure/make/cl Remove crosscompile for windows on ... Closed-Leaf check-in: 7fc526d0e5 user: jan.nijtmans tags: travis-win32-with-make
2019-09-20
21:49
Merge 8.5 check-in: b6de837aef user: jan.nijtmans tags: travis-win32-with-make
15:02
Modify registry/dde such that they no longer need to be compiled with -DUNICODE. Also no longer use ... check-in: 5336402800 user: jan.nijtmans tags: core-8-6-branch
14:59
Modify registry/dde such that they no longer need to be compiled with -DUNICODE. Also no longer use ... check-in: 5f447ebfff user: jan.nijtmans tags: core-8-5-branch
2019-09-16
18:45
Add 32-bit Windows builds, both with MSVC and GCC, to Travis. Backport various test-suite changes f... check-in: e0ae93803f user: jan.nijtmans tags: core-8-5-branch

Changes to .travis.yml.
205
206
207
208
209
210
211
212

213
214
215





































216
217
218
219
220
221
222
223
224
225
226

227
228
229
230
231
232
233
234
235

236
237
238
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
205
206
207
208
209
210
211

212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324

325
326
327
328
329
330
331
332
333

334
335
336
337
338
339
340
341







-
+



+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+










-
+








-
+








-
+



+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+






-
+








-
+







      dist: xenial
      compiler: i686-w64-mingw32-gcc
      addons: *mingw32
      env:
        - BUILD_DIR=win
        - CFGOPT="--host=i686-w64-mingw32 --enable-threads --enable-symbols"
      script: *crosstest
# Test on Windows with MSVC native
# Test on Windows with MSVC native (using configure/make)
    - name: "Windows/MSVC/Shared"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-64bit --enable-threads"
      before_install: &msys2preinst
        - choco install make msys2
        - PATH="$PATH:$VCDIR"
        - cd ${BUILD_DIR}
      install: &msys2inst
        - cmd.exe /C 'vcvarsall.bat x64 && sh -c ./configure %CFGOPT% --prefix=%HOME%'
      script: &msys2make
        - cmd.exe /C 'vcvarsall.bat x64 && sh -c make all tcltest'
        - cmd.exe /C 'vcvarsall.bat x64 && sh -c make test'
    - name: "Windows/MSVC/Static"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-64bit --enable-threads --disable-shared"
      before_install: *msys2preinst
      install: *msys2inst
      script: *msys2make
    - name: "Windows/MSVC/Debug"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-64bit --enable-threads --enable-symbols"
      before_install: *msys2preinst
      install: *msys2inst
      script: *msys2make
# Test on Windows with MSVC native (using nmake)
    - name: "Windows/MSVC/Shared/nmake"
      os: windows
      compiler: cl
      env: &vcenv
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
      before_install: &vcpreinst
        - PATH="$PATH:$VCDIR"
        - cd ${BUILD_DIR}
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=threads -f makefile.vc all tcltest'
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=threads -f makefile.vc test'
    - name: "Windows/MSVC/Static"
    - name: "Windows/MSVC/Static/nmake"
      os: windows
      compiler: cl
      env: *vcenv
      before_install: *vcpreinst
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=static,msvcrt,threads -f makefile.vc all tcltest'
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=static,msvcrt,threads -f makefile.vc test'
    - name: "Windows/MSVC/Debug"
    - name: "Windows/MSVC/Debug/nmake"
      os: windows
      compiler: cl
      env: *vcenv
      before_install: *vcpreinst
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
        - cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc test'
# Test on Windows with MSVC native (32-bit)
# Test on Windows with MSVC native (32-bit, using configure/make)
    - name: "Windows/MSVC-x86/Shared"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-threads"
      before_install: *msys2preinst
      install: &msys2inst32
        - cmd.exe /C 'vcvarsall.bat x86 && sh -c ./configure %CFGOPT% --prefix=%HOME%'
      script: &msys2make32
        - cmd.exe /C 'vcvarsall.bat x86 && sh -c make all tcltest'
        - cmd.exe /C 'vcvarsall.bat x86 && sh -c make test'
    - name: "Windows/MSVC-x86/Static"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-threads --disable-shared"
      before_install: *msys2preinst
      install: *msys2inst32
      script: *msys2make32
    - name: "Windows/MSVC-x86/Debug"
      os: windows
      compiler: cl
      env:
        - BUILD_DIR=win
        - VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
        - CFGOPT="--enable-threads --enable-symbols"
      before_install: *msys2preinst
      install: *msys2inst32
      script: *msys2make32
# Test on Windows with MSVC native (32-bit, using nmake)
    - name: "Windows/MSVC-x86/Shared/nmake"
      os: windows
      compiler: cl
      env: *vcenv
      before_install: *vcpreinst
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc all tcltest'
        - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc test'
    - name: "Windows/MSVC-x86/Static"
    - name: "Windows/MSVC-x86/Static/nmake"
      os: windows
      compiler: cl
      env: *vcenv
      before_install: *vcpreinst
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc all tcltest'
        - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc test'
    - name: "Windows/MSVC-x86/Debug"
    - name: "Windows/MSVC-x86/Debug/nmake"
      os: windows
      compiler: cl
      env: *vcenv
      before_install: *vcpreinst
      install: []
      script:
        - cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
Changes to tests/compile.test.
453
454
455
456
457
458
459
460

461
462
463

464
465
466
467
468
469
470
471
472
473
474
475
476
477

478
479
480
481
482
483
484
453
454
455
456
457
458
459

460
461
462

463
464
465
466
467
468
469
470
471
472
473
474
475
476

477
478
479
480
481
482
483
484







-
+


-
+













-
+







}
test compile-13.2 {TclCompileScript: testing expected nested scripts compilation} -setup {
    _ti_gencode
    interp recursionlimit ti [expr {10000+50}]
    ti eval {set result {}}
} -body {
    # Test different compilation variants (instructions evalStk, invokeStk, etc),
    # with 2000 (1000 in debug) nested scripts (bodies). If you get SO/SF exceptions on some low-stack
    # with 1500 (1000 in debug) nested scripts (bodies). If you get SO/SF exceptions on some low-stack
    # boxes or systems, please don't decrease it (either provide a constraint)
    ti eval {foreach cmd {eval "if 1" catch} {
	set c [gencode [expr {![::tcl::pkgconfig get debug] ? 2000 : 1000}] $cmd]
	set c [gencode [expr {![::tcl::pkgconfig get debug] ? 1500 : 1000}] $cmd]
	if 1 $c
    }}
    ti eval {set result}
} -result {1 1 1}
test compile-13.3 {TclCompileScript: testing check of max depth by nested scripts compilation} -setup {
    _ti_gencode
    interp recursionlimit ti 100
    ti eval {set result {}}
} -body {
    # Test different compilation variants (instructions evalStk, invokeStk, etc),
    # with 500 nested scripts (bodies). It must generate "too many nested compilations"
    # error for any variant we're testing here:
    ti eval {foreach cmd {eval "if 1" catch} {
	set c [gencode [expr {![info exists ::tcl_platform(debug)] ? 2000 : 1000}] $cmd]
	set c [gencode [expr {![info exists ::tcl_platform(debug)] ? 1500 : 1000}] $cmd]
	lappend errors [catch $c e] $e
    }}
    #puts $errors
    # all of nested calls exceed the limit, so must end with "too many nested compilations"
    # (or evaluations, depending on compile method/instruction and "mixed" compile within
    # evaliation), so no one succeeds, the result must be empty:
    ti eval {set result}