Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Build test fCmd.test failed

Closed / Fixed852a17eeb9cba41f8a85a3a81839183e09f1f9dbCreated 7 years agoUpdated 22 days ago
Descriptionplain2019-11-27 08:41:28
Build on Windows 10 with MSVC 2019, 64 bit:

nmake -f makefile.vc test fails.

Possibly because there is no pagefile.sys on my Windows.


fCmd.test


==== fCmd-30.3 file readable on 'pagefile.sys' FAILED
==== Contents of test case:

    set r {}
    if {[info exists env(SystemDrive)]} {
        set path $env(SystemDrive)/pagefile.sys
        lappend r exists [file exists $path]
        lappend r readable [file readable $path]
        lappend r stat [catch {file stat $path a} e] $e
    }
    return $r

---- Result was:
exists 0 readable 0 stat 1 {could not read "C:/pagefile.sys": no such file or directory}
---- Result should have been (exact matching):
exists 1 readable 0 stat 0 {}
==== fCmd-30.3 FAILED
Referenced by5
serhiy.storchakawiki2026-10-12 11:33:18

Proposed fix in branch fCmd-test-constraints: fCmd-30.3 now takes the page files in use from the registry (ExistingPageFiles under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management) instead of assuming $env(SystemDrive)/pagefile.sys, and is skipped when there is none (new constraint pagefile), e.g. under Wine.

dkf Ticket [852a17eeb9]: 3 changes [History diff]2026-11-08 20:54:35
jan.nijtmanswiki2026-11-11 11:01:32

Fixed in [trunk] and core-9-0-branch.

Log in (anonymous is fine) to add a comment.