Use "[info sharedlibextension]" instead of trying ".so" then ".dll". All

the other tcl scripts in the test-suite have already been changed in this
way, but this one was missed it seems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-09-23 22:43:48 +00:00
commit 7a64509c04

View file

@ -1,5 +1,4 @@
catch { load ./profiletest.so profiletest} catch { load ./profiletest[info sharedlibextension] profiletest}
catch { load ./profiletest.dll profiletest} ;# Windows
set a [new_A] set a [new_A]
set b [new_B] set b [new_B]