Check-in [7dafc6aec5]
Overview
Comment:Updated to include memory-linking tests on Darwin
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7dafc6aec5d0cba06852858169d86816598ea952
User & Date: rkeene on 2014-06-23 19:37:08
Other Links: manifest | tags
Context
2014-06-23
19:42
Removed old reference to "tcc_handle" check-in: bc257f54f8 user: rkeene tags: trunk
19:37
Updated to include memory-linking tests on Darwin check-in: 7dafc6aec5 user: rkeene tags: trunk
19:35
Fixed patch for searching based on current platform shared object name check-in: 3b13ded611 user: rkeene tags: trunk
Changes

Modified test.tcl from [48b0848394] to [09314c428a].

74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
puts [test5 1]
puts [test6 1]

## Delete without performing
set handle [tcc4tcl::new]
$handle delete

# External functions (requires .so or .a (ELF) files which do not exist on Darwin)
if {[info exists ::env(TCC4TCL_TEST_RUN_NATIVE)] && $::tcl_platform(os) != "Darwin"} {
	set handle [tcc4tcl::new]
	$handle cwrap curl_version {} vstring
	$handle add_library_path /usr/lib64
	$handle add_library_path /usr/lib
	$handle add_library curl
	$handle go
	puts [curl_version]







|
|







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
puts [test5 1]
puts [test6 1]

## Delete without performing
set handle [tcc4tcl::new]
$handle delete

# External functions
if {[info exists ::env(TCC4TCL_TEST_RUN_NATIVE)]} {
	set handle [tcc4tcl::new]
	$handle cwrap curl_version {} vstring
	$handle add_library_path /usr/lib64
	$handle add_library_path /usr/lib
	$handle add_library curl
	$handle go
	puts [curl_version]