summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-07 10:19:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-07 10:19:46 (GMT)
commit886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc (patch)
treea1673d9cd9ab3c0d3472fa86eaae6bfae568e33c /tests
parent8ffd9ec61e651bc933eb844c13a99927543bf8f4 (diff)
downloadtcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.zip
tcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.tar.gz
tcl-886982eaaeb8e06d1b44c7cf39b1fa4d4c38bffc.tar.bz2
Add some (temporary) test cases showing the problem with --export-dynamic
Diffstat (limited to 'tests')
-rw-r--r--tests/load.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/load.test b/tests/load.test
index b7c1a59..2ca6e96 100644
--- a/tests/load.test
+++ b/tests/load.test
@@ -82,6 +82,10 @@ test load-2.3 {loading with no _Init procedure} -constraints [list $dll $loaded]
test load-2.4 {loading with no _SafeInit procedure} [list $dll $loaded] {
list [catch {load [file join $testDir pkga$ext] {} child} msg] $msg
} {1 {can't use package in a safe interpreter: no Pkga_SafeInit procedure}}
+# This test fails due to --export-dynamic
+test load-2.5 {loading package with symbol conflict, this test fails when using --export-dynamic} [list $dll $loaded] {
+ pkga_quote
+} {I'm in pkga.c}
test load-3.1 {error in _Init procedure, same interpreter} \
[list $dll $loaded] {