Bad name for searched library + less verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6307ae94e7
commit
b3220fe33f
1 changed files with 4 additions and 10 deletions
|
|
@ -5,10 +5,8 @@ lines(0);
|
||||||
swigtestname = strsubst(fileparts(names, "fname"), "_runme", "");
|
swigtestname = strsubst(fileparts(names, "fname"), "_runme", "");
|
||||||
|
|
||||||
// Does the library exists? If not then exit!
|
// Does the library exists? If not then exit!
|
||||||
if ~isfile("lib" + fileparts(names, "fname") + "lib" + getdynlibext()) then
|
if ~isfile("lib" + swigtestname + "lib" + getdynlibext()) then
|
||||||
mprintf("**************************\n")
|
mprintf("*** LIBRARY NOT FOUND: %s ***\n", "lib" + swigtestname + "lib" + getdynlibext());
|
||||||
mprintf("* LIBRARY DOES NOT EXIST *\n");
|
|
||||||
mprintf("**************************\n")
|
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -16,16 +14,12 @@ end
|
||||||
try
|
try
|
||||||
exec("loader.sce", -1);
|
exec("loader.sce", -1);
|
||||||
catch
|
catch
|
||||||
mprintf("***************************\n")
|
mprintf("*** LOADER EXECUTION FAILED ***\n");
|
||||||
mprintf("* LOADER EXECUTION FAILED *\n");
|
|
||||||
mprintf("***************************\n")
|
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
// Error management function
|
// Error management function
|
||||||
function swigtesterror()
|
function swigtesterror()
|
||||||
mprintf("***************\n")
|
mprintf("*** TEST FAILED ***\n")
|
||||||
mprintf("* TEST FAILED *\n")
|
|
||||||
mprintf("***************\n")
|
|
||||||
exit
|
exit
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue