зеркало из https://github.com/mozilla/gecko-dev.git
Make ctypes unit tests work on OS/2. b=522118, r=dwitte
This commit is contained in:
Родитель
4b054ecdc7
Коммит
9dac919362
|
@ -45,6 +45,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
MODULE = jsctypes-test
|
||||
LIBRARY_NAME = jsctypes-test
|
||||
SHORT_LIBNAME = jscttest
|
||||
FORCE_SHARED_LIB = 1
|
||||
NO_DIST_INSTALL = 1
|
||||
|
||||
|
|
|
@ -335,8 +335,10 @@ function run_load_system_library()
|
|||
var syslib = ctypes.open("libm.dylib");
|
||||
#elifdef XP_UNIX
|
||||
var syslib = ctypes.open("libm.so");
|
||||
#elifdef XP_OS2
|
||||
var syslib = ctypes.open("libc063.dll");
|
||||
#else
|
||||
// nothing run this test
|
||||
do_throw("please add a system library for this test")
|
||||
#endif
|
||||
syslib.close();
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче