Unnamed Fossil Project

Check-in [d1a74c6d07]
Login
Bounty program for improvements to Tcl and certain Tcl packages.

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

Overview
Comment:Added all.tcl so nmake test works
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | vc-reform
Files: files | file ages | folders
SHA3-256: d1a74c6d07513645f82997f8d192b68903ddbe63309c281869fd91578e7cc496
User & Date: apnadkarni 2017-12-23 06:42:08
Context
2017-12-23
09:47
Cleaned up some messages Closed-Leaf check-in: e189963951 user: apnadkarni tags: vc-reform
06:42
Added all.tcl so nmake test works check-in: d1a74c6d07 user: apnadkarni tags: vc-reform
06:01
Removed obsolete files and updated readme check-in: 2db4f53899 user: apnadkarni tags: vc-reform
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added tests/all.tcl.

            1  +# NOTE: mpexpr tests do not use the tcltest framework.
            2  +# This file exists just so nmake test works.
            3  +
            4  +# Run tests in separate interpreters since they check if mpexpr is
            5  +# statically linked or dynamically loaded.
            6  +
            7  +set ip [interp create]
            8  +$ip eval {source mpexpr.test}
            9  +interp delete $ip
           10  +
           11  +set ip [interp create]
           12  +$ip eval {source mpformat.test}
           13  +interp delete $ip
           14  +

Changes to tests/mpformat.test.

    14     14   #
    15     15   # See the file "mpexpr.c" for information on usage and redistribution
    16     16   # of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    17     17   
    18     18   
    19     19   # check if mpexpr is already loaded:
    20     20   
    21         -if {[info commands mpexpr] == "mpexpr"} {
    22         -  puts "mpexpr statically compiled into [info nameofexecutable]"
           21  +if {[info commands mpformat] == "mpformat"} {
           22  +  puts "mpformat statically compiled into [info nameofexecutable]"
    23     23   } elseif {![catch {package require Mpexpr} version]} {
    24     24     puts "Mpexpr $version loaded via package require"
    25     25   } else {
    26     26     set extdll  ""
    27     27     global tcl_platform
    28     28     if {[llength $argv]>0} {
    29     29        set dllpat [lindex $argv 0]